Re: GetNamedLWLockTranche crashes on Windows in normal backend

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: GetNamedLWLockTranche crashes on Windows in normal backend
Дата
Msg-id aMrfnai23uicAEO7@nathan
обсуждение исходный текст
Ответ на Re: GetNamedLWLockTranche crashes on Windows in normal backend  (Sami Imseih <samimseih@gmail.com>)
Ответы Re: GetNamedLWLockTranche crashes on Windows in normal backend
Список pgsql-hackers
On Wed, Sep 17, 2025 at 11:08:12AM -0500, Sami Imseih wrote:
>> On Tue, Sep 16, 2025 at 04:04:39PM -0500, Sami Imseih wrote:
>> > startup tranches should be:
>> >
>> > #define NUM_STARTUP_TRANCHES (2)
>> >
>> > instead of:
>> >
>> > #define NUM_STARTUP_TRANCHES (256 - 2)
>>
>> Why?
> 
> It does not really matter for the tests being done, but it just
> seems odd that you would create 254 tranches during startup and
> leave room for only 2 dynamic tranches. It is not the typical
> pattern out there, in my opinion.

Okay.  I changed it in v8.

-- 
nathan

Вложения

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