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 <[email protected]>
Author: Michael Paquier <[email protected]>
Reviewed-by: Ashutosh Sharma <[email protected]>

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3064f0e25fc728385c873e776b0bf08a3f3ea09c

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to