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

From Joel Burton
Subject Re: How to determine if a user exists..
Date
Msg-id Pine.LNX.4.21.0104230904190.15933-100000@olympus.scw.org
Whole thread Raw
In response to How to determine if a user exists..  ("Dominic J. Eidson" <sauron@the-infinite.org>)
Responses Re: How to determine if a user exists..  ("Dominic J. Eidson" <sauron@the-infinite.org>)
List pgsql-hackers
On Mon, 23 Apr 2001, Dominic J. Eidson wrote:

> I am trying to add another authentication mechanism to PostgreSQL... And,
> in doing that, I need to verify the existance of an user within PG. Short
> of hacking together code from verify_password(), is there any way to check
> if a user exists in postgresql? (The actuall password verification will be
> taken care of elsewhere... I just need to check if the user exists.)

pg_user holds users

(passwords in pg_shadow)

HTH,
-- 
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington



pgsql-hackers by date:

Previous
From: Chad La Joie
Date:
Subject: 7.2 feature request
Next
From: "Dominic J. Eidson"
Date:
Subject: Re: How to determine if a user exists..