pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anthony E . Greene <agreene@pobox.com>
To: pgsql-admin@postgresql.org
Subject: Re: Granting Permissions to User To Access Database
Date: Sat, 6 Jan 2001 21:01:37 -0500
Message-ID: <20010106210137.G3399@cp5340> (raw)
In-Reply-To: <000f01c0781e$6f47c3a0$0300a8c0@kevin>
References: <000f01c0781e$6f47c3a0$0300a8c0@kevin>

On Sat, 06 Jan 2001 15:22:46 Kevin Schachter wrote:
>In MySQL you can grant a user select permissions to all tables in a
>database
>with the command "GRANT select on db.* to .....". Is there a similar way to
>accomplish this in Postgres? Reading up on GRANT I see that it only works
>for individual tables and not a full database.

The docs are correct on this -- you have to do it per table.

-- 
Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/;
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/;



view thread (8+ messages)  latest in thread

Message-ID: <20010106210137.G3399@cp5340>
Permalink:  ../20010106210137.G3399@cp5340/
Also on:    postgresql.org/message-id/20010106210137.G3399@cp5340

 · 

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: agreene@pobox.com
  Subject: Re: Granting Permissions to User To Access Database
  In-Reply-To: <20010106210137.G3399@cp5340>
  References: <000f01c0781e$6f47c3a0$0300a8c0@kevin> <20010106210137.G3399@cp5340>

* 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