Support index INCLUDE in the AM properties interface.
Andrew Gierth <rhodiumtoad@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +6 −0 |
| src/backend/utils/adt/amutils.c | modified | +106 −52 |
| src/include/access/amapi.h | modified | +8 −1 |
| src/test/regress/expected/amutils.out | modified | +51 −6 |
| src/test/regress/sql/amutils.sql | modified | +14 −3 |