pgsql: Choose ports for test servers less likely to result in conflicts

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Choose ports for test servers less likely to result in conflicts
Дата
Msg-id E1sQukO-000tUN-Vh@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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)

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b7d3be64e4378ad85e180838912c774825b02b8c

Modified Files
--------------
src/test/perl/PostgresNode.pm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Use xmlParseInNodeContext not xmlParseBalancedChunkMemory.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Choose ports for test servers less likely to result in conflicts