diff options
| author | Alvaro Herrera | 2018-09-03 15:58:42 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2018-09-03 15:59:26 +0000 |
| commit | c076f3d74af6e4836206142446bdcc2f93e149d6 (patch) | |
| tree | f6f9155408b19d64d94f2cde7a236dd36c65ee87 /src/include | |
| parent | 4ddd8f5f55a0a1967fc787e42182745ca1e3a995 (diff) | |
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
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/catalog/catversion.h | 2 | ||||
| -rw-r--r-- | src/include/catalog/pg_constraint.h | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index 836d623776f..0585e9b3bad 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 201808271 +#define CATALOG_VERSION_NO 201809031 #endif diff --git a/src/include/catalog/pg_constraint.h b/src/include/catalog/pg_constraint.h index 7c1c0e1db85..9d209c9d190 100644 --- a/src/include/catalog/pg_constraint.h +++ b/src/include/catalog/pg_constraint.h @@ -106,12 +106,6 @@ CATALOG(pg_constraint,2606,ConstraintRelationId) int16 conkey[1]; /* - * Columns of conrelid that the constraint does not apply to, but are - * included into the same index as the key columns - */ - int16 conincluding[1]; - - /* * If a foreign key, the referenced columns of confrelid */ int16 confkey[1]; |
