EquivalenceClass and custom_read_write

From: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: EquivalenceClass and custom_read_write
Date: 2025-02-12 06:16:35
Message-ID: CAExHW5skS7dLEFQ6QsDjL_e2SJ+HqbJ2OOuCVxgqZL1-8fq4Dg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi All,
In pathnodes.h
typedef struct EquivalenceClass
{
pg_node_attr(custom_read_write, no_copy_equal, no_read, no_query_jumble)

Because of custom_read_write attribute, I expect _outEquivalenceClass
to be present in outfuncs.c and _readEquivalenceClass to be present in
readfuncs.c. I find the first but not the second. This could be
because _out function is only for debugging and what it writes is
never read back. Should we add a comment in EquivalenceClass prologue
mentioning the same?

--
Best Wishes,
Ashutosh Bapat

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-02-12 06:19:12 Re: Track the amount of time waiting due to cost_delay
Previous Message Ashutosh Bapat 2025-02-12 05:47:47 Re: EvictUnpinnedBuffer and buffer free list