Re: [HACKERS] Re: How to determine if a user exists..

2001-04-23 Thread Peter Eisentraut
Dominic J. Eidson writes: > 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.. You wouldn't have to do that. There are bette

[HACKERS] Re: How to determine if a user exists..

2001-04-23 Thread Dominic J. Eidson
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 ques

[HACKERS] Re: How to determine if a user exists..

2001-04-23 Thread Joel Burton
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