Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > Re: Object Priv...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3162 of 3323
Post > Topic >>

Re: Object Privileges

by desoi@[EMAIL PROTECTED] (John DeSoi) Jul 8, 2008 at 07:28 AM

On Jul 8, 2008, at 12:11 AM, Marc Abbott wrote:

> 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.
>


You might find this to be a helpful starting point:

http://pgedit.com/tip/postgresql/access_control_functions

You might also check out the information schema. You can see the SQL  
used for any of the psql commands by starting psql with the -E option.




John DeSoi, Ph.D.





-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 2 Posts in Topic:
Object Privileges
MarcA@[EMAIL PROTECTED]   2008-07-08 06:11:19 
Re: Object Privileges
desoi@[EMAIL PROTECTED]   2008-07-08 07:28:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:30:35 CST 2008.