public inbox for [email protected]
help / color / mirror / Atom feedFrom: Peter Eisentraut <[email protected]>
To: vaibhave postgres <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: BUG #19542: Boolean syntax in GRAPH_TABLE
Date: Wed, 8 Jul 2026 09:51:11 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAM_eQjx8oO1CwcnYukKsTzzy-rcTn2vHdXk3jtgA91ZdoQ=4nw@mail.gmail.com>
References: <[email protected]>
<CAM_eQjx8oO1CwcnYukKsTzzy-rcTn2vHdXk3jtgA91ZdoQ=4nw@mail.gmail.com>
On 05.07.26 10:20, vaibhave postgres wrote:
> Thanks for reporting.
>
> The crash comes from replace_property_refs() (src/backend/rewrite/
> rewriteGraphTable.c) which rewrites the GraphPropertyRef nodes.
>
> It calls expression_tree_mutator() directly on the top level node
> instead of calling it's mutator (replace_property_refs_mutator()) which
> treats GraphPropertyRef as a leaf & just copies it unchanged.
>
> ```
> case T_GraphLabelRef:
> case T_GraphPropertyRef:
> case T_MergeSupportFunc:
>
> return copyObject(node);
>
> ```
>
>
> The fix is to call the mutator directly at the entry point.
Thanks, this has also been discovered in [0], and the fix there is the same.
[0]:
https://www.postgresql.org/message-id/flat/20260630173053.51.noahmisch%40microsoft.com
view thread (3+ messages)
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: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: BUG #19542: Boolean syntax in GRAPH_TABLE
In-Reply-To: <[email protected]>
* 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