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 <nbedxp(at)gmail(dot)com>
Author: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Reviewed-by: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/dd12b53078c37ea8731e9cb053bbeefe725ea47a
Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)