Re: pg_basebackup, tablespace mapping and path canonicalization - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_basebackup, tablespace mapping and path canonicalization
Date
Msg-id CA+TgmoZjs+FAiHSy1LN8-ay6i0PxQQiCQhPoqio9V8T_oHJQ_g@mail.gmail.com
Whole thread Raw
In response to pg_basebackup, tablespace mapping and path canonicalization  (Ian Barwick <ian@2ndquadrant.com>)
Responses Re: pg_basebackup, tablespace mapping and path canonicalization  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Thu, Feb 5, 2015 at 10:21 PM, Ian Barwick <ian@2ndquadrant.com> wrote:
> I stumbled on what appears to be inconsistent handling of double slashes
> in tablespace paths when using pg_basebackup with the -T/--tablespace-mapping
> option:
>
>     ibarwick:postgresql (master)$ mkdir /tmp//foo-old
[...]
> The attached patch adds the missing canonicalization; I can't see any
> reason not to do this. Thoughts?

Seems OK to me.  Anyone think differently?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: New CF app deployment
Next
From: Jan Wieck
Date:
Subject: Re: Possible problem with pgcrypto