pg_basebackup: Fix comparison handling of tablespace mappings on Windows
authorPeter Eisentraut
Wed, 1 Nov 2017 14:20:05 +0000 (10:20 -0400)
committerPeter Eisentraut
Thu, 2 Nov 2017 01:44:55 +0000 (21:44 -0400)
commit4ba0ffaaee3f1e1c1103802c786c221a56a70497
tree6973c8f6121b4292fafa8a5b685c8d0ec429f7db
parente0ec1cbffe0065a4c2d344241824bfe383a94181
pg_basebackup: Fix comparison handling of tablespace mappings on Windows

A candidate path needs to be canonicalized before being checked against
the mappings, because the mappings are also canonicalized.  This is
especially relevant on Windows

Reported-by: nb
Author: Michael Paquier 
Reviewed-by: Ashutosh Sharma
src/bin/pg_basebackup/pg_basebackup.c