Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YNTVs-0004uG-HM for pgsql-committers@arkaria.postgresql.org; Mon, 16 Feb 2015 21:47:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YNTVs-0006Lk-0d for pgsql-committers@arkaria.postgresql.org; Mon, 16 Feb 2015 21:47:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YNTVr-0006Le-FG for pgsql-committers@postgresql.org; Mon, 16 Feb 2015 21:47:31 +0000 Received: from mout.gmx.net ([212.227.17.20]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YNTVn-00029n-Oc for pgsql-committers@postgresql.org; Mon, 16 Feb 2015 21:47:30 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MbaS9-1Y7B0q34x3-00J2HR for ; Mon, 16 Feb 2015 22:47:25 +0100 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 1FBBA207B6 for ; Mon, 16 Feb 2015 16:47:24 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 16 Feb 2015 16:47:24 -0500 X-Sasl-enc: iJAJYpCU7NFLJUmc6Sbj236XshW/AMv15ZRxAX0vI/nv 1424123244 Received: from [10.0.0.36] (unknown [67.165.24.246]) by mail.messagingengine.com (Postfix) with ESMTPA id 403A9C0028C; Mon, 16 Feb 2015 16:47:24 -0500 (EST) Message-ID: <54E2656B.5050706@gmx.net> Date: Mon, 16 Feb 2015 16:47:23 -0500 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Bruce Momjian CC: pgsql-committers@postgresql.org Subject: Re: pgsql: pg_upgrade: quote directory names in delete_old_cluster script References: <54E0D134.8030605@gmx.net> <20150216214435.GC24298@momjian.us> In-Reply-To: <20150216214435.GC24298@momjian.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:h1k1jusBTfsxZKKT44A/o4mU/VnjEVa5BH6tTBngB3XZ0KJvKQP V/GZ7dt6ZwsqXCEh2hxla9IT8x2TRlE8a4pG54p2SZCFlCZA9W6yGHWEiTiEN7iu1A34nlz iFAaD9uWkZCr48kCFoDewdRidQM1Meyw7qYIojpcPbhsxn/dkWzyOSC+AV9pu+a3Gl3mWtP N4Ed8h4ZDK1bW1fm/Mk0A== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2/16/15 4:44 PM, Bruce Momjian wrote: > On Sun, Feb 15, 2015 at 12:02:44PM -0500, Peter Eisentraut wrote: >> On 2/11/15 10:06 PM, Bruce Momjian wrote: >>> pg_upgrade: quote directory names in delete_old_cluster script >>> >>> This allows the delete script to properly function when special >>> characters appear in directory paths, e.g. spaces. >> >> Wouldn't single quotes be better than double quotes if you want to >> defend against special characters? > > I thought of that. Windows only does double-quotes, I think, and I > didn't see any value to doing a platform-specific quoting. Do you? All of our makefiles use single quotes, so effectively the only character we don't support in directory paths is the single quote itself. -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers