Skip site navigation (1) Skip section navigation (2)

Re: CREATE USER and createuser not working the same

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Cédric Villemain <cedric(dot)villemain(at)dalibo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stéphane Schildknecht <stephane(dot)schildknecht(at)postgresqlfr(dot)org>
Subject: Re: CREATE USER and createuser not working the same
Date: 2007-09-21 17:14:03
Message-ID: 20070921171403.GO5947@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Cédric Villemain wrote:
> Le jeudi 13 septembre 2007, Tom Lane a écrit :
> > =?ISO-8859-1?Q?St=E9phane_Schildknecht?= 
> <stephane(dot)schildknecht(at)postgresqlfr(dot)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.

In response to

Responses

pgsql-bugs by date

Next:From: Peter EisentrautDate: 2007-09-21 18:55:21
Subject: Re: BUG #3624: EXTRACT(QUARTER FROM INTERVAL) always returns 1
Previous:From: Eugene HutornyDate: 2007-09-21 17:08:59
Subject: Re: BUG #3624: EXTRACT(QUARTER FROM INTERVAL) always returns 1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group