Re: How to determine if a user exists..

Поиск
Список
Период
Сортировка
От Dominic J. Eidson
Тема Re: How to determine if a user exists..
Дата
Msg-id Pine.LNX.4.21.0104230841140.27430-100000@morannon.the-infinite.org
обсуждение исходный текст
Ответ на Re: How to determine if a user exists..  (Joel Burton <jburton@scw.org>)
Ответы Re: Re: How to determine if a user exists..  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Mon, 23 Apr 2001, Joel Burton wrote:

> pg_user holds users
> 
> (passwords in pg_shadow)

I doubt the -hackers people would let me add SPI_* stuff into libpq, just
to retrieve whether a user exists or not.. My first thought was to check
the existance of users against $PGDATA/pg_pwd... One question I'd have
there, is whether pg_pwd always exists (or, can be relied upon existing.)?



-- 
Dominic J. Eidson                                       "Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/              http://www.the-infinite.org/~dominic/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joel Burton
Дата:
Сообщение: Re: How to determine if a user exists..
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_statistic