Re: "SELECT ANY TABLE" !!

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Louie Kwan <lkwan(at)nuvo(dot)com>
Cc: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: "SELECT ANY TABLE" !!
Date: 2004-02-27 13:11:56
Message-ID: 20040227131156.GA12169@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Feb 23, 2004 at 14:51:24 -0500,
Louie Kwan <lkwan(at)nuvo(dot)com> wrote:
> I would like to create a user which has only read privilege, something like
> "SELECT ANY TABLE"...
>
> Any pointer or help is appreciated.

If 7.3 or later you can do this. You have to be careful about what access
you give them. In particular when you give them usage access to a database,
the default access to the public schema allows them to create objects.
Read through the documentation on grant and be aware of what the defaults
are for database, schema and function access.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Gamache 2004-02-27 14:38:51 Re: Any Gentoo users interested in a slotted PostgreSQL
Previous Message Rajesh Kumar Mallah 2004-02-27 07:47:20 ALTER table taking ages...