Extracting \ Generate DDL for existing object permissions

From: smiley2211 <msramsey22(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Extracting \ Generate DDL for existing object permissions
Date: 2008-05-22 21:33:30
Message-ID: 17413948.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-05-22 22:07:36 Re: Extracting \ Generate DDL for existing object permissions
Previous Message antiochus antiochus 2008-05-22 21:13:24 Re: deadlock debug methodology question