]> granicus.if.org Git - postgresql/commit
Remove pg_constraint.conincluding
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 3 Sep 2018 15:58:42 +0000 (12:58 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 3 Sep 2018 15:59:26 +0000 (12:59 -0300)
commitc076f3d74af6e4836206142446bdcc2f93e149d6
treef6f9155408b19d64d94f2cde7a236dd36c65ee87
parent4ddd8f5f55a0a1967fc787e42182745ca1e3a995
Remove pg_constraint.conincluding

This column was added in commit 8224de4f42cc ("Indexes with INCLUDE
columns and their support in B-tree") to ease writing the ruleutils.c
supporting code for that feature, but it turns out to be unnecessary --
we can do the same thing with just one more syscache lookup.

Even the documentation for the new column being removed in this commit
is awkward.

Discussion: https://postgr.es/m/20180902165018.33otxftp3olgtu4t@alvherre.pgsql
doc/src/sgml/catalogs.sgml
src/backend/catalog/pg_constraint.c
src/backend/utils/adt/ruleutils.c
src/include/catalog/catversion.h
src/include/catalog/pg_constraint.h
src/test/regress/expected/index_including.out
src/test/regress/sql/index_including.sql