Re: Use generation memory context for tuplestore.c

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Use generation memory context for tuplestore.c
Дата
Msg-id CAApHDvp4xi-YBPBcXnLO5fX1LmDnneh_0C8mdgojhFn4f-cVWg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Use generation memory context for tuplestore.c  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Sat, 6 Jul 2024 at 12:08, David Rowley <dgrowleyml@gmail.com> wrote:
> The attached fixes the issue. I'll stare at it a bit more and try to
> decide if that's the best way to fix it.

I did that staring work and thought about arranging the code to reduce
the number of #ifdefs. In the end, I decided it was better to keep the
two "if" checks close together so that it's easy to see that one does
> and the other >=. Someone else's tastes may vary.

I adjusted the comment to remove the >= mention and pushed the
resulting patch and backpatched to 16, where I broke this in
0e480385e.

Thanks for the report.

David

David



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Richard Guo
Дата:
Сообщение: Re: Wrong results with grouping sets
Следующее
От: Richard Guo
Дата:
Сообщение: Re: Wrong results with grouping sets