diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-09-20 11:10:36 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-09-20 11:10:36 -0400 |
commit | 36b564c648a044e42ca461466ae14d8588e6c5e2 (patch) | |
tree | df3c768877b1c0a0cd8473c70966cfd3b071ca8a /doc/src/sgml/ref/alter_role.sgml | |
parent | 57eebca03a9eb61eb18f8ea9db94775653f797d1 (diff) | |
download | postgresql-36b564c648a044e42ca461466ae14d8588e6c5e2.tar.gz |
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
Diffstat (limited to 'doc/src/sgml/ref/alter_role.sgml')
-rw-r--r-- | doc/src/sgml/ref/alter_role.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/alter_role.sgml b/doc/src/sgml/ref/alter_role.sgml index 8cd8602bc4..ccdd5c107c 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> |