| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Allow using Unix-domain sockets on Windows in tests |
| Date: | 2020-03-30 15:39:09 |
| Message-ID: | E1jIwVJ-0001uL-Dz@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Allow using Unix-domain sockets on Windows in tests
The test suites currently don't use Unix-domain sockets on Windows.
This optionally allows enabling that by setting the environment
variable PG_TEST_USE_UNIX_SOCKETS.
This should currently be considered experimental. In particular,
pg_regress.c contains some comments that the cleanup code for
Unix-domain sockets doesn't work correctly under Windows, which hasn't
been an problem until now. But it's good enough for locally
supervised testing of the functionality.
Reviewed-by: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/54bde68c-d134-4eb8-5bd3-8af33b72a010(at)2ndquadrant(dot)com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1d53432ff940b789c2431ba476a2a6e2db3edf84
Modified Files
--------------
src/bin/pg_ctl/t/001_start_stop.pl | 2 +-
src/test/authentication/t/001_password.pl | 7 +++---
src/test/authentication/t/002_saslprep.pl | 7 +++---
src/test/perl/PostgresNode.pm | 4 ++--
src/test/perl/TestLib.pm | 8 ++++++-
src/test/regress/pg_regress.c | 40 ++++++++++++++++++++-----------
6 files changed, 42 insertions(+), 26 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexander Korotkov | 2020-03-30 16:17:53 | pgsql: Implement operator class parameters |
| Previous Message | Tom Lane | 2020-03-30 15:15:18 | pgsql: Be more careful about extracting encoding from locale strings on |