Thread: pgsql: Support index INCLUDE in the AM properties interface.

pgsql: Support index INCLUDE in the AM properties interface.

From
Andrew Gierth
Date:
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(-)


Re: pgsql: Support index INCLUDE in the AM properties interface.

From
Teodor Sigaev
Date:
Thank you!

Andrew Gierth wrote:
> 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(-)
> 

-- 
Teodor Sigaev                      E-mail: teodor@sigaev.ru
                                       WWW: http://www.sigaev.ru/