aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2019-04-14 20:02:19 -0700
committerNoah Misch <noah@leadboat.com>2019-04-14 20:02:19 -0700
commit4ab02e8156270592c1eae03d5b9ee36bb8c761c2 (patch)
tree2e4e2cadfbf31583e836a92f19cef5370863963b /src/backend/utils/adt/jsonpath.c
parentd9f543e9e9be15f92abdeaf870e57ef289020191 (diff)
downloadpostgresql-4ab02e8156270592c1eae03d5b9ee36bb8c761c2.tar.gz
postgresql-4ab02e8156270592c1eae03d5b9ee36bb8c761c2.zip
Test both 0.0.0.0 and 127.0.0.x addresses to find a usable port.
Commit c098509927f9a49ebceb301a2cb6a477ecd4ac3c changed PostgresNode::get_new_node() to probe 0.0.0.0 instead of 127.0.0.1, but the new test was less effective for Windows native Perl. This increased the failure rate of buildfarm members bowerbird and jacana. Instead, test 0.0.0.0 and concrete addresses. This restores the old level of defense, but the algorithm is still subject to its longstanding time of check to time of use race condition. Back-patch to 9.6, like the previous change. Discussion: https://postgr.es/m/GrdLgAdUK9FdyZg8VIcTDKVOkys122ZINEb3CjjoySfGj2KyPiMKTh1zqtRp0TAD7FJ27G-OBB3eplxIB5GhcQH5o8zzGZfp0MuJaXJxVxk=@yesql.se
Diffstat (limited to 'src/backend/utils/adt/jsonpath.c')
0 files changed, 0 insertions, 0 deletions