diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-09-09 14:21:40 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-09-09 14:21:52 -0400 |
commit | 8459f908c6166e0249c310a03a3d1265ff7b7972 (patch) | |
tree | ed7f5eae81f59f2e2965aefe0e8779849bd4c758 /src/backend/access/gist/gistvalidate.c | |
parent | eec51447012a41c88d6d6b6b6bd98153908b1322 (diff) | |
download | postgresql-8459f908c6166e0249c310a03a3d1265ff7b7972.tar.gz postgresql-8459f908c6166e0249c310a03a3d1265ff7b7972.zip |
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/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions