Object Privileges - Mailing list pgsql-novice

From Marc Abbott
Subject Object Privileges
Date
Msg-id AE9526F06FFC114E9087A83BC2A648BBDF1BF8@ZARDPEXCH001.medscheme.com
Whole thread Raw
Responses Re: Object Privileges  (John DeSoi <desoi@pgedit.com>)
List pgsql-novice

This email is subject to a disclaimer which may be found on our website by clicking on this link: disclaimer. If you would prefer, the disclaimer can be emailed to you by clicking here.

 

 

Hi

 

I was wondering if there are similar views in postgres to those in Oracle (DBA_TAB_PRIVS, DBA_ROLE_PRIVS etc.) where one can obtain current privileges granted to objects on the database. I have come across the \dp and \z commands but I want to write dynamic sql to generate scripts for granting and revoking. Any help would be appreciated.

 

Regards

Marc

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: how to get dependancies of a table?
Next
From: John DeSoi
Date:
Subject: Re: Object Privileges