]> 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:52 +0000 (12:37 -0400)
commit75414c69899148156d87c337cec681c292a329e9
treebf7a51dbfebc7ec1d2c2a12d8055bc5ec02ae280
parent38342df830f0e6303ed0c17b58f8b1c9e310605e
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