pgsql: Fix tmpdir issues with commit e213de8e78 - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Fix tmpdir issues with commit e213de8e78
Date
Msg-id E1qIAxk-002WyU-GV@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix tmpdir issues with commit e213de8e78

Commit e213de8e78 fixed a problem with path lengths to a tempdir on
Windows, but caused problems on at least some Unix systems where the
system tempdir is on a different file system. To work around this, only
used the system temdir for the destination of pg_replslot on Windows,
and otherwise restore the old behaviour.

Backpatch to relase 14 like the previous patch.

Problem exposed by a myriad of buildfarm animals.

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6d8a8bb0104ccd9ba5199dc54647d58ce006324e

Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Use shorter location for pg_replslot in pg_basebackup test
Next
From: Thomas Munro
Date:
Subject: pgsql: All supported systems have locale_t.