Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)
Дата
Msg-id CAH2-WzmsXA4EXk9SCBhLAjxJsw87SoZ0fs61C6Dt4SvgtbR+yg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)
Список pgsql-hackers
On Thu, Aug 24, 2023 at 6:44 PM David Rowley <dgrowleyml@gmail.com> wrote:
> I agree with this. I think Ranier's patch is good and we should apply
> it and backpatch it.

FWIW I'm pretty sure that it's impossible to run into problems here in
practice -- the minheap is allocated by palloc(), and the high
watermark number of free pages is pretty small. Even still, I agree
with your conclusion. There is really no reason to not be consistent
here.

--
Peter Geoghegan



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)
Следующее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: [PoC] pg_upgrade: allow to upgrade publisher node