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 <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9cedb1666051516c2763bb0ae4ace583cd26b141 Modified Files -------------- src/test/regress/pg_regress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
