Re: Error on createuser - Mailing list pgsql-bugs

From tomas@tuxteam.de
Subject Re: Error on createuser
Date
Msg-id 20060622102431.GA1684@www.trapp.net
Whole thread Raw
In response to Error on createuser  ("vinayak Desai" <vinayak.mdesai@gmail.com>)
List pgsql-bugs
On Sun, Jun 18, 2006 at 07:38:13PM +0530, vinayak Desai wrote:
> [root@localhost ~]# createuser -a -d -e antonio
> createuser: could not connect to database template1: FATAL:  user "root"
> does not exist

This is not a bug. It's just that root is not a known database user.
Typically there is an user postgres with full admin rights, so as root,
do

  su - postgres

and then try crateuser, etc.

HTH
-- toms

pgsql-bugs by date:

Previous
From: "James A Cole"
Date:
Subject: BUG #2489: Metadata dosen't match tables
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #2489: Metadata dosen't match tables