mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 00:03:09 -04:00
doc: Change some "user" to "role" for consistency in the section
suggested by Johannes Choo
This commit is contained in:
parent
efb25e56d8
commit
5fdda1ceab
@ -1466,7 +1466,7 @@ ALTER TABLE products RENAME TO items;
|
||||
|
||||
<para>
|
||||
To assign privileges, the <command>GRANT</command> command is
|
||||
used. For example, if <literal>joe</literal> is an existing user, and
|
||||
used. For example, if <literal>joe</literal> is an existing role, and
|
||||
<literal>accounts</literal> is an existing table, the privilege to
|
||||
update the table can be granted with:
|
||||
<programlisting>
|
||||
@ -1477,8 +1477,8 @@ GRANT UPDATE ON accounts TO joe;
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The special <quote>user</quote> name <literal>PUBLIC</literal> can
|
||||
be used to grant a privilege to every user on the system. Also,
|
||||
The special <quote>role</quote> name <literal>PUBLIC</literal> can
|
||||
be used to grant a privilege to every role on the system. Also,
|
||||
<quote>group</> roles can be set up to help manage privileges when
|
||||
there are many users of a database — for details see
|
||||
<xref linkend="user-manag">.
|
||||
|
Loading…
x
Reference in New Issue
Block a user