aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogfuncs.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2022-10-21 08:21:55 -0400
committerRobert Haas <rhaas@postgresql.org>2022-10-21 08:21:55 -0400
commit1f0c4fa255253d223447c2383ad2b384a6f05854 (patch)
tree7479a8fe2b46a95f7047ad8178078d2e10131199 /src/backend/access/transam/xlogfuncs.c
parentce20f8b9f4354b46b40fd6ebf7ce5c37d08747e0 (diff)
downloadpostgresql-1f0c4fa255253d223447c2383ad2b384a6f05854.tar.gz
postgresql-1f0c4fa255253d223447c2383ad2b384a6f05854.zip
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+wMHt02HOdJeRb0g@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlogfuncs.c')
0 files changed, 0 insertions, 0 deletions