Re: [SQL] Viewing access privileges - Mailing list pgsql-sql

From Tim J Trowbridge
Subject Re: [SQL] Viewing access privileges
Date
Msg-id 199901161924.NAA23658@earth.execpc.com
Whole thread Raw
In response to Viewing access privileges  (Stephen Davies <scldad@sdc.com.au>)
List pgsql-sql
Stephen Davies wrote:
>
> How can one view all of the access privileges of one or more users?
>
> That is, how can I check what I have GRANTed to whom?

Try this:
SELECT relname,relacl FROM pg_class WHERE relname !~ '^pg_';

--
Tim J Trowbridge                         trowbrid@writeme.com
Interested in my genealogy?          http://www.execpc.com/~trowbrid

pgsql-sql by date:

Previous
From: Stephen Davies
Date:
Subject: Viewing access privileges
Next
From: Holger Mitterwald
Date:
Subject: Inserting/updating points