Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce3673d

Browse files
committed
doc: improve description of adding roles as members
Discussion:https://postgr.es/m/ZFvVZvQDliIWmOwg@momjian.us
1 parentf79ee34 commitce3673d

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

‎doc/src/sgml/ref/create_role.sgml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,11 @@ in sync when changing the above synopsis!
285285
<term><literal>IN ROLE</literal> <replaceable class="parameter">role_name</replaceable></term>
286286
<listitem>
287287
<para>
288-
The <literal>IN ROLE</literal> clause lists one or more existing
289-
roles to which the new role will be immediately added as a new
290-
member. (Note that there is no option to add the new role as an
291-
administrator; use a separate <command>GRANT</command> command to do that.)
288+
The <literal>IN ROLE</literal> clause causes the new role to
289+
be automatically added as a member of the specified existing
290+
roles. (Note that there is no option to add the new role as an
291+
administrator; use a separate <command>GRANT</command> command
292+
to do that.)
292293
</para>
293294
</listitem>
294295
</varlistentry>
@@ -306,9 +307,9 @@ in sync when changing the above synopsis!
306307
<term><literal>ROLE</literal> <replaceable class="parameter">role_name</replaceable></term>
307308
<listitem>
308309
<para>
309-
The <literal>ROLE</literal> clauselists one or moreexisting
310-
roleswhich are automatically added as members of the new role.
311-
(This in effect makes the new role a <quote>group</quote>.)
310+
The <literal>ROLE</literal> clausecauses one or morespecified
311+
existingrolesto be automatically added as members of the new
312+
role.This in effect makes the new role a <quote>group</quote>.
312313
</para>
313314
</listitem>
314315
</varlistentry>

‎doc/src/sgml/ref/createuser.sgml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,10 @@ PostgreSQL documentation
8585
<term><option>--admin=<replaceable class="parameter">role</replaceable></option></term>
8686
<listitem>
8787
<para>
88-
Indicatesarole that will beimmediately added as a member of the new
88+
Indicatesan existingrole that will beautomatically added as a member of the new
8989
role with admin option, giving it the right to grant membership in the
90-
new role to others. Multiple roles to add as members (with admin
91-
option) of the new role can be specified by writing multiple
92-
<option>-a</option> switches.
90+
new role to others. Multiple existing roles can be specified by
91+
writing multiple <option>-a</option> switches.
9392
</para>
9493
</listitem>
9594
</varlistentry>
@@ -153,11 +152,10 @@ PostgreSQL documentation
153152
<term><option>--role=<replaceable class="parameter">role</replaceable></option></term>
154153
<listitem>
155154
<para>
156-
Indicates a role to which this role will be added immediately as a new
157-
member. Multiple roles to which this role will be added as a member
158-
can be specified by writing multiple
159-
<option>-g</option> switches.
160-
</para>
155+
Indicates the new role should be automatically added as a member
156+
of the specified existing role. Multiple existing roles can be
157+
specified by writing multiple <option>-g</option> switches.
158+
</para>
161159
</listitem>
162160
</varlistentry>
163161

@@ -227,9 +225,9 @@ PostgreSQL documentation
227225
<term><option>--member=<replaceable class="parameter">role</replaceable></option></term>
228226
<listitem>
229227
<para>
230-
Indicatesrole that will be immediately added as a member of the new
231-
role. Multiple roles to addasmembersof the new role can be specified
232-
by writing multiple <option>-m</option> switches.
228+
Indicatesthe specified existing role should be automatically
229+
addedasa memberof the new role. Multiple existing roles can
230+
be specifiedby writing multiple <option>-m</option> switches.
233231
</para>
234232
</listitem>
235233
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp