Re: getting a list of users - Mailing list pgsql-general

From Eric Smith
Subject Re: getting a list of users
Date
Msg-id F75BA687-CE80-4DF4-8E68-203C2CEF8162@mac.com
Whole thread Raw
In response to Re: getting a list of users  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Responses Re: getting a list of users  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
All,

When I try the command below, I get the very familiar error: "expected
just one rule action"

I'm running 8.3.5 on Mac OS 10.5.6.

Any ideas?

Thanks,
Eric

On May 7, 2009, at 11:24 PM, Albe Laurenz wrote:

> 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
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


pgsql-general by date:

Previous
From: Juan Camilo Marín
Date:
Subject: lack in psql console
Next
From: Tom Lane
Date:
Subject: Re: getting a list of users