information_schema.table_privileges has it. Thanks !
From: Adrian Klaver [mailto:adrian.kla...@gmail.com]
Sent: Thursday, March 17, 2011 10:59 AM
To: pgsql-general@postgresql.org
Cc: Gauthier, Dave
Subject: Re: [GENERAL] Getting users/privs for tables.
On Thursday, March 17, 2011 7:48:37 am
On Thursday, March 17, 2011 7:48:37 am Gauthier, Dave wrote:
> Hi:
>
> I'm trying to determine who has what privs for what tables. Couldn't find
> any canned views for that (but may have missed it). Or is there a query
> that can get this from the metadata somehow?
>
> Thanks in Advance.
http:
"Gauthier, Dave" writes:
> I'm trying to determine who has what privs for what tables. Couldn't find
> any canned views for that (but may have missed it). Or is there a query that
> can get this from the metadata somehow?
You could try using has_table_privilege() in a join between pg_class an
Hi:
I'm trying to determine who has what privs for what tables. Couldn't find any
canned views for that (but may have missed it). Or is there a query that can
get this from the metadata somehow?
Thanks in Advance.