pgsql: Readable identity strings for property graph objects

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Readable identity strings for property graph objects
Date: 2026-06-23 07:22:08
Message-ID: E1wbvSS-001VM2-24@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Readable identity strings for property graph objects

The "identity" column of pg_identify_object() for property graph
objects can be long string of names connected by "of", e.g. "a of l of
e of g". The type of the first named object is given by column
"type". But the types of intermediate objects are not easy to find
from the identity string especially when some of them share the same
name. Some objects, like user mappings or authorization identifier
members, add types of objects other than the first one in the identity
string. Do the same for property graph objects.

Author: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://www.postgresql.org/message-id/flat/aej1DkLwhyZWmtxJ%40bdtpg

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2a7e95b659df2903420e27542e9127c50e8f2a17

Modified Files
--------------
src/backend/catalog/objectaddress.c | 10 ++---
.../regress/expected/create_property_graph.out | 50 +++++++++++-----------
2 files changed, 30 insertions(+), 30 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-06-23 07:53:09 pgsql: doc: Describe better handling of indexes in ALTER TABLE ATTACH P
Previous Message Michael Paquier 2026-06-22 23:20:39 pgsql: doc: Update pg_dump/dumpall/upgrade about handling of external s