Re: Missing array support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Missing array support
Date
Msg-id 23324.1056848120@sss.pgh.pa.us
Whole thread Raw
In response to Re: Missing array support  (Peter Eisentraut <peter_e@gmx.net>)
Responses CVS tip compile failure (was Re: Missing array support)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Btw., it would be really nice if some limited form of this could get done,
> so I could finish the information schema views pertaining to group
> privileges.  I'd just need a way to find out what users are in what
> groups.

As of a few minutes ago,

SELECT g.groname FROM pg_user u, pg_group g
WHERE u.usesysid = ANY (g.grolist) AND u.usename = current_user;
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: pg_get_triggerdef in pg_dump
Next
From: Joe Conway
Date:
Subject: CVS tip compile failure (was Re: Missing array support)