]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix tmpdir issues with commit e213de8e78
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 8 Jul 2023 16:34:25 +0000 (12:34 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 8 Jul 2023 16:37:46 +0000 (12:37 -0400)
commit432fbeaa522ebad417ec0104aee9bd9bd3bfc3ff
treeff929e5db4b250f84e97af622dca19e336fb33d1
parent3e859b3d7af1b249e89d5e8e25a6f4b678624238
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.
src/bin/pg_basebackup/t/010_pg_basebackup.pl