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

Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>

From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter@eisentraut.org>, Alex Guo <guo.alex.hengchen@gmail.com>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2026-06-10T03:58:56Z
Lists: pgsql-hackers

Attachments

On Wed, Jun 10, 2026 at 6:48 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Mon, Jun 08, 2026 at 02:43:22PM -0400, Tom Lane wrote:
> > The argument that these only need to be machine-readable doesn't sway
> > me a lot.  In the end, any code that is disassembling these strings is
> > going to be written by a human, and the human is a lot more likely to
> > make a mistake about which identifier is which if they're not labeled.
>
> +1.  I'm not a robot yet and I still want to be able to parse these
> strings by reading them.  As things stand, this code does not allow
> one to understand what each sub-object refers to.  We are still in
> beta, let's improve the situation.

Here's a patch fixing it.

-- 
Best Wishes,
Ashutosh Bapat

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