Re: CREATE USER and createuser not working the same - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: CREATE USER and createuser not working the same
Date
Msg-id 20070921171403.GO5947@alvh.no-ip.org
Whole thread Raw
In response to Re: CREATE USER and createuser not working the same  (Cédric Villemain <cedric.villemain@dalibo.com>)
Responses Re: CREATE USER and createuser not working the same  (Stéphane Schildknecht<stephane.schildknecht@postgresqlfr.org>)
List pgsql-bugs
Cédric Villemain wrote:
> Le jeudi 13 septembre 2007, Tom Lane a écrit :
> > Stéphane Schildknecht
> <stephane.schildknecht@postgresqlfr.org> writes:
> > > It seems the shell command createuser and the SQL CREATE USER don't act
> > > the same way,
> >
> > They aren't really claimed to.
>
> But the man say :
> " createuser is a wrapper around the SQL command CREATE ROLE [create_role(7)].
> There is no effective difference between creating users via this utility and
> via other methods for accessing the server."

Note that CREATE ROLE behaves slightly differently from CREATE USER.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #3624: EXTRACT(QUARTER FROM INTERVAL) always returns 1
Next
From: "Eugene Hutorny"
Date:
Subject: Re: BUG #3624: EXTRACT(QUARTER FROM INTERVAL) always returns 1