pgsql: pg_basebackup: Fix comparison handling of tablespace mappings on

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_basebackup: Fix comparison handling of tablespace mappings on
Date: 2017-11-02 02:01:37
Message-ID: E1eA4p7-0007th-Oy@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4ba0ffaaee3f1e1c1103802c786c221a56a70497

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-11-02 02:08:11 pgsql: Doc: update URL for check_postgres.
Previous Message Tom Lane 2017-11-01 21:38:31 pgsql: Allow bitmap scans to operate as index-only scans when possible.