pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Remove pg_constraint.conincluding
2+ messages / 1 participants
[nested] [flat]

* pgsql: Remove pg_constraint.conincluding
@ 2018-09-03 16:06  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2018-09-03 16:06 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c076f3d74af6e4836206142446bdcc2f93e149d6

Modified Files
--------------
doc/src/sgml/catalogs.sgml                    |  8 ----
src/backend/catalog/pg_constraint.c           | 21 ----------
src/backend/utils/adt/ruleutils.c             | 57 +++++++++++++++++++++------
src/include/catalog/catversion.h              |  2 +-
src/include/catalog/pg_constraint.h           |  6 ---
src/test/regress/expected/index_including.out | 40 +++++++++----------
src/test/regress/sql/index_including.sql      | 10 ++---
7 files changed, 71 insertions(+), 73 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Remove pg_constraint.conincluding
@ 2018-09-03 16:06  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2018-09-03 16:06 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bd47c4a9d4ec55e26e841754ce62c23ca9008e87

Modified Files
--------------
doc/src/sgml/catalogs.sgml                    |  8 ----
src/backend/catalog/pg_constraint.c           | 21 ----------
src/backend/utils/adt/ruleutils.c             | 57 +++++++++++++++++++++------
src/include/catalog/catversion.h              |  2 +-
src/include/catalog/pg_constraint.h           |  6 ---
src/test/regress/expected/index_including.out | 40 +++++++++----------
src/test/regress/sql/index_including.sql      | 10 ++---
7 files changed, 71 insertions(+), 73 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-09-03 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03 16:06 pgsql: Remove pg_constraint.conincluding Alvaro Herrera <alvherre@alvh.no-ip.org>
2018-09-03 16:06 pgsql: Remove pg_constraint.conincluding Alvaro Herrera <alvherre@alvh.no-ip.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox