Exclude constraints not shown ALTER TABLE documentation page

Started by Onder Kalaciover 9 years ago2 messagesdocs
Jump to latest
#1Onder Kalaci
onder@citusdata.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.5/static/sql-altertable.html
Description:

Minor documentation feedback:
Though it is possible to add EXCLUDE CONSTRAINTs via ALTER TABLE as appears
here
http://thoughts.davisjeff.com/2010/09/25/exclusion-constraints-are-generalized-sql-unique/
we could not see it on the related doc here
https://www.postgresql.org/docs/9.5/static/sql-altertable.html

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

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Onder Kalaci (#1)
Re: Exclude constraints not shown ALTER TABLE documentation page

On 9/19/16 9:42 AM, onder@citusdata.com wrote:

Though it is possible to add EXCLUDE CONSTRAINTs via ALTER TABLE as appears
here
http://thoughts.davisjeff.com/2010/09/25/exclusion-constraints-are-generalized-sql-unique/
we could not see it on the related doc here
https://www.postgresql.org/docs/9.5/static/sql-altertable.html

The ALTER TABLE page does not mention any specific constraint types,
instead referring to the CREATE TABLE page. So this is not an omission
of exclude constraints, but an intentional way to reduce duplication.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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