Fix properties orphaned by dropping a label
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-07-05T11:48:32Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/propgraphcmds.c | modified | +1 −1 |
| src/test/regress/expected/create_property_graph.out | modified | +11 −12 |
| src/test/regress/sql/create_property_graph.sql | modified | +5 −0 |
Discussion
- (SQL/PGQ) Clean up orphaned properties when dropping a label 10 messages · 2026-06-05 → 2026-07-05