Re: Redundant Result node

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Redundant Result node
Date: 2024-08-27 03:43:02
Message-ID: CAMbWs4_B07DUvWKo9Nv1j1DSZo4aUypcsJiv5Xqc_5yQRP=gkg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 22, 2024 at 9:02 PM Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> wrote:
> Em qui., 22 de ago. de 2024 às 04:34, Richard Guo <guofenglinux(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2024-08-27 03:54:31 Re: Doc: fix the note related to the GUC "synchronized_standby_slots"
Previous Message jian he 2024-08-27 03:35:00 Re: Statistics Import and Export