EquivalenceClass and custom_read_write - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject EquivalenceClass and custom_read_write
Date
Msg-id CAExHW5skS7dLEFQ6QsDjL_e2SJ+HqbJ2OOuCVxgqZL1-8fq4Dg@mail.gmail.com
Whole thread Raw
Responses Re: EquivalenceClass and custom_read_write
List 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



pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: EvictUnpinnedBuffer and buffer free list
Next
From: Bertrand Drouvot
Date:
Subject: Re: Track the amount of time waiting due to cost_delay