Re: Redundant Result node - Mailing list pgsql-hackers

From Richard Guo
Subject Re: Redundant Result node
Date
Msg-id CAMbWs4_B07DUvWKo9Nv1j1DSZo4aUypcsJiv5Xqc_5yQRP=gkg@mail.gmail.com
Whole thread Raw
In response to Redundant Result node  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: Redundant Result node
List pgsql-hackers
On Thu, Aug 22, 2024 at 9:02 PM Ranier Vilela <ranier.vf@gmail.com> wrote:
> Em qui., 22 de ago. de 2024 às 04:34, Richard Guo <guofenglinux@gmail.com> escreveu:
>> This does not seem right to me, as PathTargets are not canonical, so
>> we cannot guarantee that two identical PathTargets will have the same
>> pointer.  Actually, for the query above, the two PathTargets are
>> identical but have different pointers.
>
> Could memcmp solve this?

Hmm, I don't think memcmp works for nodes that contain pointers.

Thanks
Richard



pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: Statistics Import and Export
Next
From: "David G. Johnston"
Date:
Subject: Re: Doc: fix the note related to the GUC "synchronized_standby_slots"