Re: [Patch] Improve the test src/test/postmaster/t/003_start_stop.pl

Поиск
Список
Период
Сортировка
От Potapov Alexander
Тема Re: [Patch] Improve the test src/test/postmaster/t/003_start_stop.pl
Дата
Msg-id e832bbff-2729-c000-59ce-c9aacdc13a00@postgrespro.com
обсуждение исходный текст
Ответ на Re: [Patch] Improve the test src/test/postmaster/t/003_start_stop.pl  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Wednesday, December 10, 2025 16:28 MSK, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> This seems a little pointless because the test explicitly sets
> max_connectins and max_wal_senders. It's true that it currently uses
> more iterations than strictly necessary, but does it matter?

Sure, currently the test works fine. But if we exactly know that the pool size is '2*(MaxConnections +
max_wal_senders)'why we do not apply it to the test? The additional benefit is if someone increase the pool size for
instance'2*(MaxConnections + max_wal_senders) + some_value' the test fails and indicates an issue. 

-- Alexander




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