pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix inferred property graph keys with INCLUDE columns
Date: Thu, 27 Aug 2026 09:03:36 +0000
Message-ID: <E1wzW1H-00000002JsX-1KQV@gemulon.postgresql.org> (raw)

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: https://www.postgresql.org/message-id/flat/CAPTqav%2BVUjYgm1jZy0Scy%3D1-PfdgznVj2%3DPwH8disiXF76HEow...

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



view thread (2+ messages)  latest in thread

Message-ID: <E1wzW1H-00000002JsX-1KQV@gemulon.postgresql.org>
Permalink:  ../E1wzW1H-00000002JsX-1KQV@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wzW1H-00000002JsX-1KQV@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix inferred property graph keys with INCLUDE columns
  In-Reply-To: <E1wzW1H-00000002JsX-1KQV@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox