Re: CREATE USER and createuser not working the same

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: CREATE USER and createuser not working the same
Дата
Msg-id 20070921171403.GO5947@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: CREATE USER and createuser not working the same  (Cédric Villemain <cedric.villemain@dalibo.com>)
Ответы Re: CREATE USER and createuser not working the same  (Stéphane Schildknecht<stephane.schildknecht@postgresqlfr.org>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3624: EXTRACT(QUARTER FROM INTERVAL) always returns 1
Следующее
От: "Eugene Hutorny"
Дата:
Сообщение: Re: BUG #3624: EXTRACT(QUARTER FROM INTERVAL) always returns 1