Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Thu, Aug 8, 2024 at 2:46 AM Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>> I propose to fix that by making a copy of the scan keys passed by the
>> caller and make the modifications there.
> This does have the disadvantage of adding more palloc overhead.
It seems hard to believe that one more palloc + memcpy is going to be
noticeable in the context of an index scan.
regards, tom lane