diff options
author | Tom Lane | 2019-09-09 18:21:40 +0000 |
---|---|---|
committer | Tom Lane | 2019-09-09 18:21:40 +0000 |
commit | 3146f5257f16d34c95163974f42a13d99141b977 (patch) | |
tree | b20d2f21b654a1e5035dec9e12b6bf555d70fdfd /src/backend/commands/async.c | |
parent | 73ff3a0abbbcb2c623731b88f2d1334bc67e5820 (diff) |
Be more careful about port selection in src/test/ldap/.
Don't just assume that the next port is free; it might not be, or
if we're really unlucky it might even be out of the TCP range.
Do it honestly with two get_free_port() calls instead.
This is surely a pretty low-probability problem, but I think it
explains a buildfarm failure seen today, so let's fix it.
Back-patch to v11 where this script was added.
Discussion: https://postgr.es/m/25124.1568052346@sss.pgh.pa.us
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions