pgsql: Fix inferred property graph keys with INCLUDE columns
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 <m.taha.naveed27@gmail.com>
Discussion: /messages/by-id/CAPTqav+VUjYgm1jZy0Scy=1-PfdgznVj2=PwH8disiXF76HEow@mail.gmail.com
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/58af2138740b3da0c866f1e20045c43bb7bacc0b
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(-)