Commit dc199c1c authored by Bruce Momjian's avatar Bruce Momjian

Update for all priviledge items.

parent 07d5117a
...@@ -142,15 +142,17 @@ ALTER GROUP <replaceable>name</replaceable> DROP USER <replaceable>uname1</repla ...@@ -142,15 +142,17 @@ ALTER GROUP <replaceable>name</replaceable> DROP USER <replaceable>uname1</repla
</para> </para>
<para> <para>
Currently, there are five different privileges: select (read), There are several different privileges: <literal>SELECT</literal>
insert (append), update (write), delete, and (read), <literal>INSERT</literal> (append), <literal>UPDATE</literal>
<literal>RULE</literal>, the permission to create a rewrite rule on (write), <literal>DELETE</literal>, <literal>RULE</literal>,
a table. The right to modify or destroy an object is always the <literal>REFERENCES</literal> (foreign key), and
privilege of the owner only. To assign privileges, the <literal>TRIGGER</literal>. (See the <command>GRANT</command> manual
<command>GRANT</command> command is used. So, if page for more detailed information.) The right to modify or destroy
an object is always the privilege of the owner only. To assign
privileges, the <command>GRANT</command> command is used. So, if
<literal>joe</literal> is an existing user, and <literal>joe</literal> is an existing user, and
<literal>accounts</literal> is an existing table, write access can <literal>accounts</literal> is an existing table, write access can be
be granted with granted with
<programlisting> <programlisting>
GRANT UPDATE ON accounts TO joe; GRANT UPDATE ON accounts TO joe;
</programlisting> </programlisting>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment