Re: getting a list of users

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Eric Smith *EXTERN*" <eric_h_smith(at)mac(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: getting a list of users
Date: 2009-05-08 06:24:20
Message-ID: D960CB61B694CF459DCFB4B0128514C202FF65B5@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Eric Smith wrote:
> How do I get a list of database usernames using the postgres C API?

Execute this query:

SELECT usename FROM pg_catalog.pg_user

and read the results.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eugene . 2009-05-08 07:08:44 migrating from MSSQL
Previous Message CaT 2009-05-08 05:01:29 Re: Schema per user?