On Wednesday, December 10, 2025 16:28 MSK, Heikki Linnakangas <hlinnaka(at)iki(dot)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