Choose ports for test servers less likely to result in conflicts
If we choose ports in the range typically used for ephemeral ports there
is a danger of encountering a port conflict due to a race condition
between the time we choose the port in a range below that typically used
to allocate ephemeral ports, but higher than the range typically used by
well known services.
Author: Jelte Fenema-Nio, with some editing by me.
Discussion: https://postgr.es/m/[email protected]
Backpatch to all live branches (12 and up)
Branch
------
REL_17_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/e68cf81bfea4561518d6b890f75e7aad70b6fbb1
Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)