pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Bruno Wolff III <bruno@cerberus.csd.uwm.edu>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: Privileges description not reflecting 7.2 enhancements
Date: Mon, 26 Nov 2001 16:01:52 -0500 (EST)
Message-ID: <200111262101.fAQL1qQ19567@candle.pha.pa.us> (raw)
In-Reply-To: <20011126144241.A20215@cerberus.csd.uwm.edu>

> On Mon, Nov 26, 2001 at 03:11:03PM -0500,
>   Bruce Momjian <pgman@candle.pha.pa.us> wrote:
> > > In section 7.3 (http://developer.postgresql.org/docs/postgres/privileges.html)
> > > the folowing paragraph doesn't reflect the privileges new to 7.2.
> > > 
> > > Currently, there are four different privileges: select (read), insert
> > >   (append), and update/delete (write), as well as RULE, the permission
> > >   to create a rewrite rule on a table. The right to modify or destroy an
> > 
> > OK, docs updated.  Thanks:
> > 
> >    Currently, there are five different privileges: select (read),
> >    insert (append), update (write), delete, and           
> >                     ^^^^^^^^^^^^^^
> 
> You missed REFERENCES and TRIGGER.
> 
> >From the GRANT command synopsis:
> GRANT { { SELECT | INSERT | UPDATE | DELETE | RULE | REFERENCES | TRIGGER } [,.
> ..] | ALL [ PRIVILEGES ] }
>     ON [ TABLE ] objectname [, ...]
>     TO { username | GROUP groupname | PUBLIC } [, ...]

[ CC'ed to docs list.]

OK, got it:

   There are several different privileges: <literal>SELECT</literal>
   (read), <literal>INSERT</literal> (append), <literal>UPDATE</literal>
   (write), <literal>DELETE</literal>, <literal>RULE</literal>,
   <literal>REFERENCES</literal> (foreign key), and
   <literal>TRIGGER</literal>. (See the <command>GRANT</command> manual
   page for more detailed information.) The right to modify or destroy

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (3+ messages)

Message-ID: <200111262101.fAQL1qQ19567@candle.pha.pa.us>
Permalink:  ../200111262101.fAQL1qQ19567@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200111262101.fAQL1qQ19567@candle.pha.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: pgman@candle.pha.pa.us, bruno@cerberus.csd.uwm.edu
  Subject: Re: Privileges description not reflecting 7.2 enhancements
  In-Reply-To: <200111262101.fAQL1qQ19567@candle.pha.pa.us>

* 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