Re: Privileges description not reflecting 7.2 enhancements
От | Bruce Momjian |
---|---|
Тема | Re: Privileges description not reflecting 7.2 enhancements |
Дата | |
Msg-id | 200111262101.fAQL1qQ19567@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Privileges description not reflecting 7.2 enhancements (Bruno Wolff III <bruno@cerberus.csd.uwm.edu>) |
Список | pgsql-docs |
> 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
В списке pgsql-docs по дате отправления: