From: Bruce Momjian <bruce@momjian.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Subject: Re: pg_upgrade: quote directory names in delete_old_cluster script
Date: Thu, 30 Apr 2015 12:55:35 -0400
Message-ID: <20150430165535.GA32364@momjian.us> (raw)
In-Reply-To: <20150430025926.GN4369@alvh.no-ip.org>
References: <E1YLk6V-0005B1-05@gemulon.postgresql.org>
<54E0D134.8030605@gmx.net>
<20150216214435.GC24298@momjian.us>
<54E2656B.5050706@gmx.net>
<20150216220345.GD24298@momjian.us>
<20150430025245.GA24354@momjian.us>
<20150430025926.GN4369@alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On Wed, Apr 29, 2015 at 11:59:26PM -0300, Alvaro Herrera wrote:
> Bruce Momjian wrote:
>
> > I have developed the attached patch to use platform-specific quoting of
> > path names.
>
> Part of me wonders about initdb's existing DIR_SEP and QUOTE_PATH
> definitions ... seems messy to reinvent these things all over again.
I don't think we can reuse QUOTE_PATH as it is used in initdb for
displaying potential ways of starting the server, and it assumes Unix
doesn't need quoting, while Windows usually does. For an actual script,
we always want to use quoting.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: bruce@momjian.us, alvherre@2ndquadrant.com, peter_e@gmx.net, pgsql-hackers@postgreSQL.org
Subject: Re: pg_upgrade: quote directory names in delete_old_cluster script
In-Reply-To: <20150430165535.GA32364@momjian.us>
References: <E1YLk6V-0005B1-05@gemulon.postgresql.org> <54E0D134.8030605@gmx.net> <20150216214435.GC24298@momjian.us> <54E2656B.5050706@gmx.net> <20150216220345.GD24298@momjian.us> <20150430025245.GA24354@momjian.us> <20150430025926.GN4369@alvh.no-ip.org> <20150430165535.GA32364@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox