On Sun, Mar 20, 2005 at 15:50:30 +0100, Murray Cumming <murrayc@murrayc.com> wrote:
> I'm using the pg_user and pg_group system tables to discover the list of
> users, and the groups to which they belong.
>
> But how can I discover the privileges that these users and groups have
> for the various tables. Is this also in one of the system tables?
In recent (7.4+ I think) versions of Postgres there are functions provided
for testing access to tables.
Look at table 9-40 in section 9.19 of the version 8 manual.