agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Readable identity strings for property graph objects
Date: Tue, 23 Jun 2026 07:22:08 +0000
Message-ID: <E1wbvSS-001VM2-24@gemulon.postgresql.org> (raw)

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.bapat.oss@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.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(-)



Message-ID: <E1wbvSS-001VM2-24@gemulon.postgresql.org>
Permalink:  ../E1wbvSS-001VM2-24@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wbvSS-001VM2-24@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: Readable identity strings for property graph objects
  In-Reply-To: <E1wbvSS-001VM2-24@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox