pgsql: Fix tmpdir issues with commit e213de8e78

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix tmpdir issues with commit e213de8e78
Date: 2023-07-08 16:39:12
Message-ID: E1qIAxk-002WyX-HI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/432fbeaa522ebad417ec0104aee9bd9bd3bfc3ff

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

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2023-07-09 00:00:53 pgsql: All supported systems have locale_t.
Previous Message Andrew Dunstan 2023-07-08 15:49:19 pgsql: Use shorter location for pg_replslot in pg_basebackup test