Re: getting a list of users

From: Eric Smith <eric_h_smith(at)mac(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: getting a list of users
Date: 2009-05-10 00:00:18
Message-ID: F75BA687-CE80-4DF4-8E68-203C2CEF8162@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-05-10 00:16:22 Re: getting a list of users
Previous Message Tom Lane 2009-05-09 17:28:03 Re: limit-offset different result sets with same query