Fix pg_basebackup with in-place tablespaces.

Thomas Munro <tmunro@postgresql.org>

Commit: c6f2f01611d4f2c412e92eb7893f76fa590818e8
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2022-03-15T01:01:23Z
Releases: 15.0
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 <horikyota.ntt@gmail.com>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/20220304.165449.1200020258723305904.horikyota.ntt%40gmail.com

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +14 −0

Discussion