Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glc9o-0001tr-H6 for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Jan 2019 16:10:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1glc9n-0008Sw-7U for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Jan 2019 16:10:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glc9m-0008SV-W5 for pgsql-hackers@lists.postgresql.org; Mon, 21 Jan 2019 16:10:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glc9f-0004vT-Iq for pgsql-hackers@postgresql.org; Mon, 21 Jan 2019 16:10:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x0LGAMpt031299; Mon, 21 Jan 2019 11:10:22 -0500 From: Tom Lane To: Andrew Dunstan cc: Fabien COELHO , =?UTF-8?B?UmHDumwgTWFyw61uIFJvZHLDrWd1ZXo=?= , Alvaro Herrera , PostgreSQL mailing lists Subject: Re: [PATCH] pgbench tap tests fail if the path contains a perl special character In-reply-to: References: <201901181927.sbv5o72uu4cc@alvherre.pgsql> <29026.1547841766@sss.pgh.pa.us> <32650.1547843169@sss.pgh.pa.us> <20202.1548035461@sss.pgh.pa.us> Comments: In-reply-to Andrew Dunstan message dated "Mon, 21 Jan 2019 10:40:47 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31297.1548087022.1@sss.pgh.pa.us> Date: Mon, 21 Jan 2019 11:10:22 -0500 Message-ID: <31298.1548087022@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > Perhaps it would be OK we changed back the glob line to use $prefix > instead of $qprefix, but kept the use of $qprefix in the later regex. Well, glob does have some metacharacters, so not doing any quoting at all still leaves us with failure modes. I did a little bit of googling on this subject last night, and it seems that at least some people believe that the answer is to not use glob, period, but read the directory for yourself. Maybe there's a better way, but the breakage around backslashes doesn't really leave me hopeful. As a short-term move to un-break the buildfarm, I'm just going to revert that patch altogether. We can reapply it once we've figured out how to do the glob part correctly. regards, tom lane