pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Louie Kwan <lkwan@nuvo.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: "SELECT ANY TABLE" !!
Date: Fri, 27 Feb 2004 07:11:56 -0600
Message-ID: <20040227131156.GA12169@wolff.to> (raw)
In-Reply-To: <FB4FDC17A002D711BC0C009027DE84AF027F6BD7@EXCHANGE.nuvo.com>
References: <FB4FDC17A002D711BC0C009027DE84AF027F6BD7@EXCHANGE.nuvo.com>

On Mon, Feb 23, 2004 at 14:51:24 -0500,
  Louie Kwan <lkwan@nuvo.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.



view thread (3+ messages)

Message-ID: <20040227131156.GA12169@wolff.to>
Permalink:  ../20040227131156.GA12169@wolff.to/
Also on:    postgresql.org/message-id/20040227131156.GA12169@wolff.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruno@wolff.to, lkwan@nuvo.com
  Subject: Re: "SELECT ANY TABLE" !!
  In-Reply-To: <20040227131156.GA12169@wolff.to>
  References: <FB4FDC17A002D711BC0C009027DE84AF027F6BD7@EXCHANGE.nuvo.com> <20040227131156.GA12169@wolff.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox