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.