summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-09-20 11:10:42 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-09-20 11:10:42 -0400
commite77730721f5faddb28fd11912f7968ddfd8b58c2 (patch)
tree37dc7f89567aa2bdf069fbab564b10eeb768455a
parent4131cc6b90ce274a44462627a1c878bf1950838b (diff)
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
-rw-r--r--doc/src/sgml/ref/alter_role.sgml2
-rw-r--r--doc/src/sgml/ref/alter_user.sgml2
-rw-r--r--doc/src/sgml/ref/create_schema.sgml2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/alter_role.sgml b/doc/src/sgml/ref/alter_role.sgml
index 8cd8602bc4f..ccdd5c107ca 100644
--- a/doc/src/sgml/ref/alter_role.sgml
+++ b/doc/src/sgml/ref/alter_role.sgml
@@ -45,7 +45,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
<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
| SESSION_USER
</synopsis>
diff --git a/doc/src/sgml/ref/alter_user.sgml b/doc/src/sgml/ref/alter_user.sgml
index 411a6dcc389..c26d264de5c 100644
--- a/doc/src/sgml/ref/alter_user.sgml
+++ b/doc/src/sgml/ref/alter_user.sgml
@@ -45,7 +45,7 @@ ALTER USER { <replaceable class="PARAMETER">role_specification</replaceable> | A
<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
| SESSION_USER
</synopsis>
diff --git a/doc/src/sgml/ref/create_schema.sgml b/doc/src/sgml/ref/create_schema.sgml
index 554a4483c54..5d29cd768ab 100644
--- a/doc/src/sgml/ref/create_schema.sgml
+++ b/doc/src/sgml/ref/create_schema.sgml
@@ -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>
- [ GROUP ] <replaceable class="PARAMETER">user_name</replaceable>
+ <replaceable class="PARAMETER">user_name</replaceable>
| CURRENT_USER
| SESSION_USER
</synopsis>