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

2018-04-08 Thread Teodor Sigaev

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: teo...@sigaev.ru
  WWW: http://www.sigaev.ru/



pgsql: Support index INCLUDE in the AM properties interface.

2018-04-07 Thread Andrew Gierth
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(-)