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 1glOk4-0003lR-Nu for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Jan 2019 01:51:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1glOk3-0001rH-9x for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Jan 2019 01:51:11 +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 1glOk3-0001rA-2g for pgsql-hackers@lists.postgresql.org; Mon, 21 Jan 2019 01:51:11 +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 1glOk0-0006po-Fr for pgsql-hackers@postgresql.org; Mon, 21 Jan 2019 01:51:10 +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 x0L1p1Nv020203; Sun, 20 Jan 2019 20:51:01 -0500 From: Tom Lane To: =?UTF-8?B?UmHDumwgTWFyw61uIFJvZHLDrWd1ZXo=?= cc: Andrew Dunstan , 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> Comments: In-reply-to =?UTF-8?B?UmHDumwgTWFyw61uIFJvZHLDrWd1ZXo=?= message dated "Fri, 18 Jan 2019 21:56:44 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20201.1548035461.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 20 Jan 2019 20:51:01 -0500 Message-ID: <20202.1548035461@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?UTF-8?B?UmHDumwgTWFyw61uIFJvZHLDrWd1ZXo=3D?=3D = writes: >> Pushed with that correction. > Thanks a lot! Hm, so bowerbird (a Windows machine) has been failing the pgbench tests since this went in, cf https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dbowerbird&dt=3D2= 019-01-20%2004%3A57%3A01 I'm just guessing, but I suspect that bowerbird is using a path spec that includes a backslash directory separator and that's somehow bollixing things. If so, we might be able to fix it by converting backslashes to forward slashes before applying quotemeta(). It's also possible that on Windows, "glob" handles backslashes differently than it does elsewhere, which would be harder to fix --- that would bring back my original fear that the appropriate quoting rules are different for "glob" than for regexes. Andrew, any insight? regards, tom lane