diff options
author | Andres Freund <andres@anarazel.de> | 2022-01-27 14:38:44 -0800 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-01-27 14:49:57 -0800 |
commit | 7340aceed72b522bfcbba70520b4c2435c35d2ba (patch) | |
tree | 8eff0982c2b6ffda7291d2adfc4872b4afe1231c /src/backend/access/gist/gistutil.c | |
parent | 8ee940843dfed6623b0a0d0b15080aa469116ce0 (diff) | |
download | postgresql-7340aceed72b522bfcbba70520b4c2435c35d2ba.tar.gz postgresql-7340aceed72b522bfcbba70520b4c2435c35d2ba.zip |
Specify --host in 027_stream_regress.pl's pg_regress invocation.
The invocation of pg_regress in 027_stream_regress.pl didn't specify the
host. It ends up working on most systems because of connection
defaults. However, on windows it makes the test very slow unless
PG_TEST_USE_UNIX_SOCKETS is used.
The problem is that windows resolves "localhost" to ::0, 127.0.0.1, the server
started only listens on 127.0.0.1. On windows refused TCP connections are
internally retried a few times, with back-off between tries, taking at least 2
seconds.
Noticed while investigating a complaint about the test's slow speed by Andrew
Dunstan.
Discussion: https://postgr.es/m/20220127220351.kyp3bdaukfytmoqx@alap3.anarazel.de
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions