Re: Extracting \ Generate DDL for existing object permissions

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: smiley2211 <msramsey22(at)gmail(dot)com>, 'PostgreSQL' <pgsql-general(at)postgresql(dot)org>
Subject: Re: Extracting \ Generate DDL for existing object permissions
Date: 2008-05-22 22:07:36
Message-ID: 4835EEA8.708@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 22/05/2008 22:33, smiley2211 wrote:

> 1) dump database A -
> 2) Extract permissions from database B - (HOW????)

How about dumping B using the plain-text format, then running the output
through grep, looking for lines starting with "GRANT..."?

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-05-22 22:45:47 Re: quote in string
Previous Message smiley2211 2008-05-22 21:33:30 Extracting \ Generate DDL for existing object permissions