Re: [PATCH] Clean up property graph error messages - Mailing list pgsql-hackers

From Ayush Tiwari
Subject Re: [PATCH] Clean up property graph error messages
Date
Msg-id CAJTYsWWGfGmdbKAet5jj326ik6zbKivtn9KBfFxB9uLNLuk6yA@mail.gmail.com
Whole thread
In response to Re: [PATCH] Clean up property graph error messages  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
Hi,


On Thu, 7 May 2026 at 14:15, Peter Eisentraut <peter@eisentraut.org> wrote:

> and moves a
> ReleaseSysCache() call before an ERROR ereport in
> check_element_properties().
>
> The existing code should be cleaned up by
> the resource owner on the ERROR path, but the explicit ReleaseSysCache()
> placed after ereport(ERROR) was unreachable.

I think that's fine.  I don't think the change makes this better.

IIUC that is dead code right now, it never reaches that point to release?

Regards,
Ayush 

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Fix DROP PROPERTY GRAPH "unsupported object class" error
Next
From: Amit Langote
Date:
Subject: Re: Server crash: Use-after-free in AfterTriggerEndQuery()