Re: How to determine if a user exists.. - Mailing list pgsql-hackers

From Dominic J. Eidson
Subject Re: How to determine if a user exists..
Date
Msg-id Pine.LNX.4.21.0104230841140.27430-100000@morannon.the-infinite.org
Whole thread Raw
In response to Re: How to determine if a user exists..  (Joel Burton <jburton@scw.org>)
Responses Re: Re: How to determine if a user exists..  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Joel Burton
Date:
Subject: Re: How to determine if a user exists..
Next
From: Tom Lane
Date:
Subject: Re: pg_statistic