diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2024-07-08 11:18:06 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2024-07-08 11:40:58 -0400 |
commit | 4b4b931bcdf23f5facd49809278a3048c4fdba1f (patch) | |
tree | 4587a67a5e0fada9add12801438071cb9f577078 /src/backend/commands/dbcommands.c | |
parent | e4f4c5424cf9564b934ac6f632c6c90a2edddb77 (diff) | |
download | postgresql-4b4b931bcdf23f5facd49809278a3048c4fdba1f.tar.gz postgresql-4b4b931bcdf23f5facd49809278a3048c4fdba1f.zip |
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/d6ee8761-39d1-0033-1afb-d5a57ee056f2@gmail.com
Backpatch to all live branches (12 and up)
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions