pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove pg_constraint.conincluding
Date: Mon, 03 Sep 2018 16:06:34 +0000
Message-ID: <E1fwrN4-0000mZ-MA@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1fwrN4-0000mZ-MA@gemulon.postgresql.org>
Permalink:  ../E1fwrN4-0000mZ-MA@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fwrN4-0000mZ-MA@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Remove pg_constraint.conincluding
  In-Reply-To: <E1fwrN4-0000mZ-MA@gemulon.postgresql.org>
  References: <E1fwrN4-0000mZ-MA@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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