Support index INCLUDE in the AM properties interface.
authorAndrew Gierth <rhodiumtoad@postgresql.org>
Sun, 8 Apr 2018 05:02:05 +0000 (06:02 +0100)
committerAndrew Gierth <rhodiumtoad@postgresql.org>
Sun, 8 Apr 2018 05:02:05 +0000 (06:02 +0100)
commit49b0e300f7dd56b092c0046ee29dc2b15beea9a8
tree40121d0919fa5d199b1f4714f02fdca19f99c592
parentd234602c28e8e1baea342602dbb404cee9fde47e
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.
doc/src/sgml/func.sgml
src/backend/utils/adt/amutils.c
src/include/access/amapi.h
src/test/regress/expected/amutils.out
src/test/regress/sql/amutils.sql