Re: How to determine if a user exists..

From: Joel Burton <jburton(at)scw(dot)org>
To: "Dominic J(dot) Eidson" <sauron(at)the-infinite(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: How to determine if a user exists..
Date: 2001-04-23 13:05:07
Message-ID: Pine.LNX.4.21.0104230904190.15933-100000@olympus.scw.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)scw(dot)org>
Director of Information Systems, Support Center of Washington

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-04-23 13:41:26 Re: pg_statistic
Previous Message Hannu Krosing 2001-04-23 12:44:38 Will something bad happen if I put index on xmin ?