Re: [BUG] Crash on pgbench initialization.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [BUG] Crash on pgbench initialization.
Дата
Msg-id 20230725032411.47qialan3n5hjrh6@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: [BUG] Crash on pgbench initialization.  (Andres Freund <andres@anarazel.de>)
Ответы Re: [BUG] Crash on pgbench initialization.
Список pgsql-hackers
Hi,

On 2023-07-24 09:42:44 -0700, Andres Freund wrote:
> > I don't know this code at all, but I hope that this can be solved with
> > just Anton's proposed patch.
> 
> Yes, it's just that off-by-one.  I need to check if there's a similar bug for
> local / temp table buffers though.

Doesn't appear that way. We *do* fail if there's only 1 remaining buffer, but
we already did before my change (because we also need to pin the fsm). I don't
think that's an issue worth worrying about, if all-1 of local buffers are
pinned, you're going to have problems.

Thanks Anton / Victoria for the report and fix. Pushed.

Greetings,

Andres Freund



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

Предыдущее
От: "Mr.Bim"
Дата:
Сообщение: Partition pruning not working on updates
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Performance degradation on concurrent COPY into a single relation in PG16.