mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 13:41:20 +02:00
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 31eae6028
, 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
This commit is contained in:
parent
57eebca03a
commit
36b564c648
@ -45,7 +45,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
|
|||||||
|
|
||||||
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
|
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
|
||||||
|
|
||||||
[ GROUP ] <replaceable class="PARAMETER">role_name</replaceable>
|
<replaceable class="PARAMETER">role_name</replaceable>
|
||||||
| CURRENT_USER
|
| CURRENT_USER
|
||||||
| SESSION_USER
|
| SESSION_USER
|
||||||
</synopsis>
|
</synopsis>
|
||||||
|
@ -45,7 +45,7 @@ ALTER USER { <replaceable class="PARAMETER">role_specification</replaceable> | A
|
|||||||
|
|
||||||
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
|
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
|
||||||
|
|
||||||
[ GROUP ] <replaceable class="PARAMETER">role_name</replaceable>
|
<replaceable class="PARAMETER">role_name</replaceable>
|
||||||
| CURRENT_USER
|
| CURRENT_USER
|
||||||
| SESSION_USER
|
| SESSION_USER
|
||||||
</synopsis>
|
</synopsis>
|
||||||
|
@ -28,7 +28,7 @@ CREATE SCHEMA IF NOT EXISTS AUTHORIZATION <replaceable class="PARAMETER">role_sp
|
|||||||
|
|
||||||
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
|
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
|
||||||
|
|
||||||
[ GROUP ] <replaceable class="PARAMETER">user_name</replaceable>
|
<replaceable class="PARAMETER">user_name</replaceable>
|
||||||
| CURRENT_USER
|
| CURRENT_USER
|
||||||
| SESSION_USER
|
| SESSION_USER
|
||||||
</synopsis>
|
</synopsis>
|
||||||
|
Loading…
Reference in New Issue
Block a user