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

Commit 33dd10e

Browse files
committed
Fix erroneous documentation about noise word GROUP.
GRANT, REVOKE, and some allied commands allow the noise word GROUP before a role name (cf. grantee production in gram.y). This option does not exist elsewhere, but it had nonetheless snuck into the documentation for ALTER ROLE, ALTER USER, and CREATE SCHEMA. Seems to be a copy-and-pasteo in commit 31eae60, which did expand the syntax choices here, but not in that way. Back-patch to 9.5 where that came in. Discussion: https://postgr.es/m/20170916123750.8885.66941@wrigleys.postgresql.org
1 parent 95a231a commit 33dd10e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/src/sgml/ref/alter_role.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
4545

4646
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
4747

48-
[ GROUP ] <replaceable class="PARAMETER">role_name</replaceable>
48+
<replaceable class="PARAMETER">role_name</replaceable>
4949
| CURRENT_USER
5050
| SESSION_USER
5151
</synopsis>

doc/src/sgml/ref/alter_user.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ALTER USER { <replaceable class="PARAMETER">role_specification</replaceable> | A
4545

4646
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
4747

48-
[ GROUP ] <replaceable class="PARAMETER">role_name</replaceable>
48+
<replaceable class="PARAMETER">role_name</replaceable>
4949
| CURRENT_USER
5050
| SESSION_USER
5151
</synopsis>

doc/src/sgml/ref/create_schema.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CREATE SCHEMA IF NOT EXISTS AUTHORIZATION <replaceable class="PARAMETER">role_sp
2828

2929
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
3030

31-
[ GROUP ] <replaceable class="PARAMETER">user_name</replaceable>
31+
<replaceable class="PARAMETER">user_name</replaceable>
3232
| CURRENT_USER
3333
| SESSION_USER
3434
</synopsis>

0 commit comments

Comments
 (0)