Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1louAE-0003yC-2P for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Jun 2021 20:42:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1louAC-0007T5-K4 for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Jun 2021 20:42:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1louAC-0007Su-CX for pgsql-hackers@lists.postgresql.org; Thu, 03 Jun 2021 20:42:00 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1louAA-0006vD-13 for pgsql-hackers@lists.postgresql.org; Thu, 03 Jun 2021 20:41:59 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id DA41BFF804; Thu, 3 Jun 2021 20:41:54 +0000 (UTC) Subject: Re: pgsql: Add regression test for recovery pause. From: Andrew Dunstan To: Tom Lane , Fujii Masao Cc: pgsql-hackers@lists.postgresql.org References: <191471.1622669205@sss.pgh.pa.us> Message-ID: Date: Thu, 3 Jun 2021 16:41:53 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/2/21 6:25 PM, Andrew Dunstan wrote: > > > Looks to me like we're getting munged by the msys shell, and unlike on > msys2 there isn't a way to disable it: > https://stackoverflow.com/questions/7250130/how-to-stop-mingw-and-msys-from-mangling-path-names-given-at-the-command-line > > > c.f. commit 73ff3a0abbb > > > Maybe a robust solution would be to have the query piped to psql on its > stdin rather than on the command line. poll_query_until looks on a quick > check like the only place in PostgresNode where we use "psql -c" > > > I'll experiment a bit tomorrow. > > > My suspicion was correct. Fix pushed. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com