agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Fix properties orphaned by dropping a label
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix properties orphaned by dropping a label
@ 2026-07-05 11:57  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2026-07-05 11:57 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix properties orphaned by dropping a label

AlterPropGraph() cleans up pg_propgraph_property entries that are
orphaned by dropping an element or by dropping properties associated
with an element.  But it did not clean up pg_propgraph_property
entries that are orphaned by dropping labels associated with an
element.  Fix this missing case.

Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Author: zengman <zengman@halodbtech.com>
Discussion: https://www.postgresql.org/message-id/flat/tencent_76F6ACA2364EAA1E5DBD7A47%40qq.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0e4f0827f63900374ce7352f1f9e4c39363218d0

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix properties orphaned by dropping a label
@ 2026-07-05 11:57  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2026-07-05 11:57 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix properties orphaned by dropping a label

AlterPropGraph() cleans up pg_propgraph_property entries that are
orphaned by dropping an element or by dropping properties associated
with an element.  But it did not clean up pg_propgraph_property
entries that are orphaned by dropping labels associated with an
element.  Fix this missing case.

Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Author: zengman <zengman@halodbtech.com>
Discussion: https://www.postgresql.org/message-id/flat/tencent_76F6ACA2364EAA1E5DBD7A47%40qq.com

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/45d4c917ff4f4fe206ad18d0279a47c9f2a08123

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-07-05 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-07-05 11:57 pgsql: Fix properties orphaned by dropping a label Peter Eisentraut <peter@eisentraut.org>
2026-07-05 11:57 pgsql: Fix properties orphaned by dropping a label Peter Eisentraut <peter@eisentraut.org>

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