]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pg_basebackup: Fix comparison handling of tablespace mappings on Windows
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 1 Nov 2017 14:20:05 +0000 (10:20 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 2 Nov 2017 01:45:11 +0000 (21:45 -0400)
commit3064f0e25fc728385c873e776b0bf08a3f3ea09c
tree22c307b367cc008b02761b288e1311107748c474
parentd2e6bd13a0729a12d04811a9e192f94898556041
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@gmail.com>
Author: Michael Paquier <michael.paquier@gmail.com>
Reviewed-by: Ashutosh Sharma <ashu.coek88@gmail.com>
src/bin/pg_basebackup/pg_basebackup.c