pgsql: Fix inferred property graph keys with INCLUDE columns

Started by Peter Eisentraut3 months ago1 messagescommitters
Jump to latest
#1Peter Eisentraut
peter@eisentraut.org

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
------
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(-)