[PATCH] Remove dead code in ExecForPortionOfLeftovers()

Поиск
Список
Период
Сортировка
Искать

[PATCH] Remove dead code in ExecForPortionOfLeftovers()

От:
Aleksander Alekseev <aleksander@tigerdata.com>
Дата:
Вложения:
Hi,

While reading 8e72d914c528 I noticed that
ForPortionOfState.fp_leftoverstypcache is not used for anything. I
suggest removing it, as attached.

-- 
Best regards,
Aleksander Alekseev

Re: [PATCH] Remove dead code in ExecForPortionOfLeftovers()

От:
Quan Zongliang <quanzongliang@yeah.net>
Дата:


On 4/21/26 8:22 PM, Aleksander Alekseev wrote:
> Hi,
> 
> While reading 8e72d914c528 I noticed that
> ForPortionOfState.fp_leftoverstypcache is not used for anything. I
> suggest removing it, as attached.
> 

Agree.
It indeed did not make any reference anywhere.

Quan Zongliang



Re: [PATCH] Remove dead code in ExecForPortionOfLeftovers()

От:
jian he <jian.universality@gmail.com>
Дата:
On Wed, Apr 22, 2026 at 11:58 AM Quan Zongliang  wrote:
>
>
> On 4/21/26 8:22 PM, Aleksander Alekseev wrote:
> > Hi,
> >
> > While reading 8e72d914c528 I noticed that
> > ForPortionOfState.fp_leftoverstypcache is not used for anything. I
> > suggest removing it, as attached.
> >
>
> Agree.
> It indeed did not make any reference anywhere.
>

I raised this issue at [1].
But apparently, it's actually being used for fixing a bug at [2].

[1]: https://www.postgresql.org/message-id/CACJufxHYntqy2fo9CFWDDrqKjcMK8DGRM3kse4YnXYnPYq2Hiw%40mail.gmail.com
[2]: https://www.postgresql.org/message-id/CA%2BrenyU5%3Dmihx6O8%2BERBmarZcuV1QiWB3X5bZhdptWoRM9G-Aw%40mail.gmail.com


FAQ