Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAQL1sm29381 for ; Mon, 26 Nov 2001 16:01:54 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id fAQL1qQ19567; Mon, 26 Nov 2001 16:01:52 -0500 (EST) From: Bruce Momjian Message-Id: <200111262101.fAQL1qQ19567@candle.pha.pa.us> Subject: Re: Privileges description not reflecting 7.2 enhancements In-Reply-To: <20011126144241.A20215@cerberus.csd.uwm.edu> "from Bruno Wolff III at Nov 26, 2001 02:42:41 pm" To: Bruno Wolff III Date: Mon, 26 Nov 2001 16:01:52 -0500 (EST) CC: PostgreSQL-documentation X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200111/93 X-Sequence-Number: 1166 > On Mon, Nov 26, 2001 at 03:11:03PM -0500, > Bruce Momjian 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: SELECT (read), INSERT (append), UPDATE (write), DELETE, RULE, REFERENCES (foreign key), and TRIGGER. (See the GRANT 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