pgsql: Support index INCLUDE in the AM properties interface.

From: Andrew Gierth <rhodiumtoad(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Support index INCLUDE in the AM properties interface.
Date: 2018-04-08 05:09:52
Message-ID: E1f52aO-00073b-MA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Gierth 2018-04-08 05:32:29 Re: pgsql: Support partition pruning at execution time
Previous Message David Rowley 2018-04-08 03:42:23 Re: pgsql: Support partition pruning at execution time