Re: How to determine if a user exists..
Joel Burton <jburton@scw.org>
From: Joel Burton <jburton@scw.org>
To: "Dominic J. Eidson" <sauron@the-infinite.org>
Cc: pgsql-hackers@postgresql.org
Date: 2001-04-23T13:05:07Z
Lists: 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