Skip to content

Commit dc199c1

Browse files
committed
Update for all priviledge items.
1 parent 07d5117 commit dc199c1

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

doc/src/sgml/user-manag.sgml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,17 @@ ALTER GROUP <replaceable>name</replaceable> DROP USER <replaceable>uname1</repla
142142
</para>
143143

144144
<para>
145-
Currently, there are five different privileges: select (read),
146-
insert (append), update (write), delete, and
147-
<literal>RULE</literal>, the permission to create a rewrite rule on
148-
a table. The right to modify or destroy an object is always the
149-
privilege of the owner only. To assign privileges, the
150-
<command>GRANT</command> command is used. So, if
145+
There are several different privileges: <literal>SELECT</literal>
146+
(read), <literal>INSERT</literal> (append), <literal>UPDATE</literal>
147+
(write), <literal>DELETE</literal>, <literal>RULE</literal>,
148+
<literal>REFERENCES</literal> (foreign key), and
149+
<literal>TRIGGER</literal>. (See the <command>GRANT</command> manual
150+
page for more detailed information.) The right to modify or destroy
151+
an object is always the privilege of the owner only. To assign
152+
privileges, the <command>GRANT</command> command is used. So, if
151153
<literal>joe</literal> is an existing user, and
152-
<literal>accounts</literal> is an existing table, write access can
153-
be granted with
154+
<literal>accounts</literal> is an existing table, write access can be
155+
granted with
154156
<programlisting>
155157
GRANT UPDATE ON accounts TO joe;
156158
</programlisting>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy