Thread: view users

view users

From
"Joel Lopez"
Date:
Hi,

I've created a db and a user.  I can see the db using 'psql -l'  but how do
I see the users?

thanks,
Joel


Re: view users

From
Oliver Elphick
Date:
On Tue, 2003-02-11 at 22:44, Joel Lopez wrote:
> Hi,
>
> I've created a db and a user.  I can see the db using 'psql -l'  but how do
> I see the users?


SELECT * FROM pg_user;

(pg_user is a view of pg_shadow)

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "The earth is the LORD'S, and the fullness thereof; the
      world, and they that dwell therein."
                                   Psalms 24:1