Re: select any table - Mailing list pgsql-general

From Roberts, Jon
Subject Re: select any table
Date
Msg-id 1A6E6D554222284AB25ABE3229A92762E9A01B@nrtexcus702.int.asurion.com
Whole thread Raw
In response to Re: select any table  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: select any table
Re: select any table
List pgsql-general
> On Tue, 25 Mar 2008 09:54:20 -0500
> "Roberts, Jon" <Jon.Roberts@asurion.com> wrote:
>
> > I have some users that need "select any table" but they should not
be
> > superusers.  How can this be done?
> >
> > I need a "grant select on <dbname> to <rolename>".
>
> You can't do it with a single command. It is easy enough to write a
> query to grab the tables and grant select on them though.
>

We are adding tables and schemas all of the time and we need to grant
auditors read-only access to the database.


Jon

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: select any table
Next
From: Pierre LEBRECH
Date:
Subject: How to sort strings containing a dot?