pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <rhodiumtoad@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Support index INCLUDE in the AM properties interface.
Date: Sun, 08 Apr 2018 05:09:52 +0000
Message-ID: <E1f52aO-00073b-MA@gemulon.postgresql.org> (raw)

Support index INCLUDE in the AM properties interface.

This rectifies an oversight in commit 8224de4f4, by adding a new
property 'can_include' for pg_indexam_has_property, and adjusting the
results of pg_index_column_has_property to give more appropriate
results for INCLUDEd columns.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/49b0e300f7dd56b092c0046ee29dc2b15beea9a8

Modified Files
--------------
doc/src/sgml/func.sgml                |   6 ++
src/backend/utils/adt/amutils.c       | 158 +++++++++++++++++++++++-----------
src/include/access/amapi.h            |   9 +-
src/test/regress/expected/amutils.out |  57 ++++++++++--
src/test/regress/sql/amutils.sql      |  17 +++-
5 files changed, 185 insertions(+), 62 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1f52aO-00073b-MA@gemulon.postgresql.org>
Permalink:  ../E1f52aO-00073b-MA@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f52aO-00073b-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: rhodiumtoad@postgresql.org
  Subject: Re: pgsql: Support index INCLUDE in the AM properties interface.
  In-Reply-To: <E1f52aO-00073b-MA@gemulon.postgresql.org>
  References: <E1f52aO-00073b-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