Обсуждение: [COMMITTERS] pgsql: Fix erroneous documentation about noise word GROUP.

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Fix erroneous documentation about noise word GROUP.

От
Tom Lane
Дата:
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

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/33dd10ef2f1df34e834c64f78622302ea5d78a93

Modified Files
--------------
doc/src/sgml/ref/alter_role.sgml    | 2 +-
doc/src/sgml/ref/alter_user.sgml    | 2 +-
doc/src/sgml/ref/create_schema.sgml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Fix erroneous documentation about noise wordGROUP.

От
Alvaro Herrera
Дата:
Tom Lane wrote:
> 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.

You're right, that was my slip.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers