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 General > Extracting \ Ge...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 15639 of 17437
Post > Topic >>

Extracting \ Generate DDL for existing object permissions

by msramsey22@[EMAIL PROTECTED] (smiley2211) May 22, 2008 at 02:33 PM

Hello all,

How do I capture the EXISTING permissions for a database?  I know you can
see them via \z or \dp however I need ALL permissions to be captured so I
can reapply after performing a database restore.

ex:  
1) dump database A - 
2) Extract permissions from database B - (HOW????)
3) load database B from A - 
4) execute sql to put permissions back to database B from step 2

Thanks...Michelle
-- 
View this message in context:
http://www.nabble.com/Extracting-%5C-Generate-DDL-for-existing-object-permissions-tp17413948p17413948.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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




 2 Posts in Topic:
Extracting \ Generate DDL for existing object permissions
msramsey22@[EMAIL PROTECT  2008-05-22 14:33:30 
Re: Extracting \ Generate DDL for existing object permissions
rod@[EMAIL PROTECTED] (&  2008-05-22 23:07:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Nov 22 13:03:09 CST 2008.