Re: Fix DROP PROPERTY GRAPH "unsupported object class" error

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Alex Guo <guo.alex.hengchen@gmail.com>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2026-06-08T00:19:54Z
Lists: pgsql-hackers
On Fri, Jun 05, 2026 at 09:10:47AM +0200, Peter Eisentraut wrote:
> I have committed the v7 patch with two additional fixes: 1) Removed the
> translation markers from the getObjectIdentityParts additions, these are not
> supposed to be translated; and 2) added the new cases to ObjectTypeMap.

+ property graph element label  |        |      | e of e of
create_property_graph_tests.gt
+ property graph element label  |        |      | v1 of v1 of
create_property_graph_tests.gt
+ property graph element label  |        |      | v2 of v2 of
create_property_graph_tests.gt
[...]
+ property graph label property |        |      | c of e of e of
create_property_graph_tests.gt
+ property graph label property |        |      | k1 of e of e of
create_property_graph_tests.gt
+ property graph label property |        |      | k2 of e of e of
create_property_graph_tests.gt

FWIW, I still find these descriptions written as of "$object of
$object of..", or worse the "$object1 of $object2 of $object2 of..",
really hard to parse, and make some sense out of them.  Am I the only
one?
--
Michael

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Readable identity strings for property graph objects

  2. Handle element label and label property objects in object address functions

  3. Simplify code in objectaddress.c for some property graph objects