Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5fdda1c

Browse files
committed
doc: Change some "user" to "role" for consistency in the section
suggested by Johannes Choo
1 parent efb25e5 commit 5fdda1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/ddl.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ ALTER TABLE products RENAME TO items;
14661466

14671467
<para>
14681468
To assign privileges, the <command>GRANT</command> command is
1469-
used. For example, if <literal>joe</literal> is an existing user, and
1469+
used. For example, if <literal>joe</literal> is an existing role, and
14701470
<literal>accounts</literal> is an existing table, the privilege to
14711471
update the table can be granted with:
14721472
<programlisting>
@@ -1477,8 +1477,8 @@ GRANT UPDATE ON accounts TO joe;
14771477
</para>
14781478

14791479
<para>
1480-
The special <quote>user</quote> name <literal>PUBLIC</literal> can
1481-
be used to grant a privilege to every user on the system. Also,
1480+
The special <quote>role</quote> name <literal>PUBLIC</literal> can
1481+
be used to grant a privilege to every role on the system. Also,
14821482
<quote>group</> roles can be set up to help manage privileges when
14831483
there are many users of a database &mdash; for details see
14841484
<xref linkend="user-manag">.

0 commit comments

Comments
 (0)