Re: [Patch] Improve the test src/test/postmaster/t/003_start_stop.pl - Mailing list pgsql-hackers

From Potapov Alexander
Subject Re: [Patch] Improve the test src/test/postmaster/t/003_start_stop.pl
Date
Msg-id e832bbff-2729-c000-59ce-c9aacdc13a00@postgrespro.com
Whole thread Raw
In response to Re: [Patch] Improve the test src/test/postmaster/t/003_start_stop.pl  (Heikki Linnakangas <hlinnaka@iki.fi>)
List 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 by date:

Previous
From: jian he
Date:
Subject: Re: ON CONFLICT DO SELECT (take 3)
Next
From: Zsolt Parragi
Date:
Subject: Re: Proposal: Add a callback data parameter to GetNamedDSMSegment