Fix inferred property graph keys with INCLUDE columns

Inferred property graph keys used all attributes stored in the primary
key index, causing non-key INCLUDE columns to become part of the graph
key. Use only the index's key attributes.

Author: Muhammad Taha Naveed <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/CAPTqav%2BVUjYgm1jZy0Scy%3D1-PfdgznVj2%3DPwH8disiXF76HEow%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8646d1d5904503f7e8cbb7166e857fed63c6e49c

Modified Files
--------------
src/backend/commands/propgraphcmds.c                | 3 ++-
src/test/regress/expected/create_property_graph.out | 3 ++-
src/test/regress/sql/create_property_graph.sql      | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)

Reply via email to