]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Readable identity strings for property graph objects
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 23 Jun 2026 06:58:16 +0000 (08:58 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 23 Jun 2026 07:13:11 +0000 (09:13 +0200)
commit2a7e95b659df2903420e27542e9127c50e8f2a17
tree0ccffa73687cebe4ca04fe3102d9fbffb30f2ea8
parentf0a4f280b4d3cd16c368c524fe0c212643615f46
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
src/backend/catalog/objectaddress.c
src/test/regress/expected/create_property_graph.out