pg_regress: Observe TMPDIR
Peter Eisentraut <peter@eisentraut.org>
pg_regress: Observe TMPDIR Put the temporary socket directory under TMPDIR, if that environment variable is set, instead of the hardcoded /tmp. This allows running the tests if there is no /tmp at all (for example on Windows, although running the tests with Unix-domain sockets is not enabled on Windows yet). We also use TMPDIR everywhere else /tmp is hardcoded, so this makes the behavior consistent. Reviewed-by: Andrew Dunstan <andrew.dunstan@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/54bde68c-d134-4eb8-5bd3-8af33b72a010@2ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/pg_regress.c | modified | +2 −1 |
Discussion
- Unix-domain socket support on Windows 22 messages · 2019-08-07 → 2020-03-30