postgresql - How do I rename the default postgres superuser to "root"? -
i log in postgresql using psql -u postgres. how rename postgres user root?
if logged in postgres trying alter user postgres rename root error:  session user cannot renamed.
is possible rename user without logging postgres user? don't think have other superuser since fresh install of postgresql.
by way, running gentoo on amazon ec2.
you should able create new postgres superuser called root logging in postgres user , (at shell) typing;
createuser --superuser root psql> create database root owner root after that, when logged in root, should able want postgres user.
Comments
Post a Comment