pg_basebackup: Fix cross-platform tablespace relocation. Specifically, when pg_basebackup is invoked with -Tx=y, don't error out if x could plausibly be an absolute path either on Windows or on non-Windows systems. We don't know whether the remote system is running the same OS as the local system, so it's not appropriate to assume that our local rule about absolute pathnames is the same as the rule on the remote system.
Patch by me, reviewed by Tom Lane, Andrew Dunstan, and Davinder Singh. Discussion: http://postgr.es/m/ca+tgmoy+jc3yiskomvykdpk3fbrmsdu7_8+wmht02hodjer...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/1f0c4fa255253d223447c2383ad2b384a6f05854 Modified Files -------------- src/bin/pg_basebackup/pg_basebackup.c | 20 +++++++++++++++----- src/include/port.h | 34 +++++++++++++++++++--------------- 2 files changed, 34 insertions(+), 20 deletions(-)
