[MASSMAIL]pgsql: Doc: update documentation about EXCLUDE constraint elements. - Mailing list pgsql-committers

From Tom Lane
Subject [MASSMAIL]pgsql: Doc: update documentation about EXCLUDE constraint elements.
Date
Msg-id E1rtYJV-0010x8-D3@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Doc: update documentation about EXCLUDE constraint elements.

What the documentation calls an exclude_element is an index_elem
according to gram.y, and it allows all the same options that
a CREATE INDEX column specification does.  The COLLATE patch
neglected to update the CREATE/ALTER TABLE docs about that,
and later the opclass-parameters patch made the same oversight.
Add those options to the syntax synopses, and polish the
associated text a bit.

Back-patch to v13 where opclass parameters came in.  We could
update v12 with just the COLLATE omission, but it doesn't quite
seem worth the trouble at this point.

Shihao Zhong, reviewed by Daniel Vérité, Shubham Khanna and myself

Discussion: https://postgr.es/m/CAGRkXqShbVyB8E3gapfdtuwiWTiK=Q67Qb9qwxu=+-w0w46EBA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1973d9fb318316df16b0da89e6fe5f2c53473b38

Modified Files
--------------
doc/src/sgml/ref/alter_table.sgml  |  2 +-
doc/src/sgml/ref/create_table.sgml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: [MASSMAIL]pgsql: Use conditional variable to wait for next MultiXact offset
Next
From: Tom Lane
Date:
Subject: [MASSMAIL]pgsql: Doc: update documentation about EXCLUDE constraint elements.