Fix pg_basebackup with in-place tablespaces.
authorThomas Munro <[email protected]>
Tue, 15 Mar 2022 00:38:41 +0000 (13:38 +1300)
committerThomas Munro <[email protected]>
Tue, 15 Mar 2022 01:01:23 +0000 (14:01 +1300)
commitc6f2f01611d4f2c412e92eb7893f76fa590818e8
tree8eba524fa41a1a2c5cdfaaa5955c149a3a763989
parent9dde82899cdf48bd7b2f3d83e4f724ac9ae02c79
Fix pg_basebackup with in-place tablespaces.

Previously, pg_basebackup from a cluster that contained an 'in-place'
tablespace, as introduced by commit 7170f215, would produce a harmless
warning on Unix and fail completely on Windows.

Reported-by: Kyotaro Horiguchi <[email protected]>
Reviewed-by: Kyotaro Horiguchi <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/20220304.165449.1200020258723305904.horikyota.ntt%40gmail.com
src/backend/access/transam/xlog.c