Privileges description not reflecting 7.2 enhancements

Started by Bruno Wolff IIIover 24 years ago3 messagesdocs
Jump to latest
#1Bruno Wolff III
bruno@cerberus.csd.uwm.edu

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

#2Bruce Momjian
bruce@momjian.us
In reply to: Bruno Wolff III (#1)
Re: Privileges description not reflecting 7.2 enhancements

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
^^^^^^^^^^^^^^
<literal>RULE</literal>, the permission to create a rewrite rule on
a table. The right to modify or destroy an object is always the
privilege of the owner only. To assign privileges, the

-- 
  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
#3Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#2)
Re: Privileges description not reflecting 7.2 enhancements

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