Re: grant options - Mailing list pgsql-general

From Nigel J. Andrews
Subject Re: grant options
Date
Msg-id Pine.LNX.4.21.0305271503060.3028-100000@ponder.fairway2k.co.uk
Whole thread Raw
In response to Re: grant options  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-general
On Tue, 27 May 2003, Bruno Wolff III wrote:

> On Mon, May 26, 2003 at 18:29:38 +0200,
>   stephane rouille <srouille@infobiogen.fr> wrote:
> > Hi all,
> >
> > I want to give SELECT privilege on all the tables of my db to an other user. I can give select privilege for one
table,then a second... Is it possible to do this in one stage? 
>
> There isn't a single SQL command to do it, but it would be easy to write
> a script to do it in for example perl.

Or, as I am planning to do having just come across GRANT USAGE ON SCHEMA... not
allowing me to select from the contained tables, write a plpgsql function, run
it and then drop it.


--
Nigel J. Andrews


pgsql-general by date:

Previous
From: Murthy Kambhampaty
Date:
Subject: Re: PostgreSQL v7.3.3 Now Available for Download
Next
From: "Vincent Hikida"
Date:
Subject: Re: Query Which is not supposted to list NULLS is listing