mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03: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
95a231aef9
commit
33dd10ef2f
@ -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…
x
Reference in New Issue
Block a user