Thread: Exclude constraints not shown ALTER TABLE documentation page

Exclude constraints not shown ALTER TABLE documentation page

From
onder@citusdata.com
Date:
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

Re: Exclude constraints not shown ALTER TABLE documentation page

From
Peter Eisentraut
Date:
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