Re: grant privileges - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: grant privileges
Date
Msg-id 4915892A.20102@iol.ie
Whole thread Raw
In response to grant privileges  (Garry Saddington <garry@schoolteachers.co.uk>)
List pgsql-general
On 08/11/2008 12:29, Garry Saddington wrote:
> Is there a way to grant all priveleges on all tables and sequences in a
> database at the same time?

Not easily, AFAIK - this question comes up from time to time, and you'll
find in the archives examples of scripts that pull object names from the
system catalogues and use these to generate GRANT commands.

You could also try pgAdmin, which has a really handy "Grant wizard" to
do this.

Ray.

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

pgsql-general by date:

Previous
From: Garry Saddington
Date:
Subject: grant privileges
Next
From: "David Spadea"
Date:
Subject: Re: Get interval in months