Re: select any table

From: "Roberts, Jon" <Jon(dot)Roberts(at)asurion(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: select any table
Date: 2008-03-25 15:16:19
Message-ID: 1A6E6D554222284AB25ABE3229A92762E9A01B@nrtexcus702.int.asurion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Tue, 25 Mar 2008 09:54:20 -0500
> "Roberts, Jon" <Jon(dot)Roberts(at)asurion(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roberts, Jon 2008-03-25 15:35:45 Re: How to sort strings containing a dot?
Previous Message Joshua D. Drake 2008-03-25 15:16:01 Re: select any table