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 1mR2Hd-0003kN-S9 for pgsql-committers@arkaria.postgresql.org; Fri, 17 Sep 2021 01:03:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mR2Hc-0006uw-LH for pgsql-committers@arkaria.postgresql.org; Fri, 17 Sep 2021 01:03:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mR2Hc-0006uo-FU for pgsql-committers@lists.postgresql.org; Fri, 17 Sep 2021 01:03:16 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mR2HZ-0001UX-Pp for pgsql-committers@lists.postgresql.org; Fri, 17 Sep 2021 01:03:16 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 2880C3200937; Thu, 16 Sep 2021 21:03:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 16 Sep 2021 21:03:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=jVsVS9iSLocK8Fqfv+NHNqmOmrgR7Qd7sfN5KdAnTKA=; b=oi3H8Z0B Owxudey8++/uVapxvKJonarztr6m4dkzgZCQpoj1JOijEnXE3PEYKAqsZ6uK7xmC aE9WESLU6g0QfXTMh3ABDMVjOl9FNe9/7+bB/v0JjJHq4MWSIpfBG3whTCt1DwFw GFXFgIfax2ytOqOOV7IqWyCIN8rfjR9f/VffwgIkpDLYw+8J/VwoT5NukwozgWcn /tKG9lObysEnXdIcvGhzsmHu8dQ3ge4Cmj1MUnQGMXl5ojNgDdf8ayIcDk4X78AG ITRs3lsYZS/LRKLMYax+WogmQRNr/iD4qNjcbUgE+TgMk6u1cVVUcLMzLhRcvd54 tVCeN81FQgnItA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehhedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Sep 2021 21:03:08 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 110BB2A0818; Thu, 16 Sep 2021 22:03:05 -0300 (-03) Date: Thu, 16 Sep 2021 22:03:05 -0300 From: Alvaro Herrera To: Michael Paquier Cc: Tom Lane , pgsql-committers@lists.postgresql.org, Andrew Dunstan Subject: Re: pgsql: Support "postgres -C" with runtime-computed GUCs Message-ID: <202109170103.qbjmwwvokbfl@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Sep-17, Michael Paquier wrote: > On Fri, Sep 17, 2021 at 08:08:44AM +0900, Michael Paquier wrote: > > I am not completely sure what's going on here yet, so I'll just switch > > the test to be skipped when Msys is involved for now. That should be > > enough to bring back those machines to green. > > So, after drinking down a coffee, I have remembered the difference > between the Msys and native perls when it comes to IPC::Run: > - Msys perl generates \r\n. > - Native perl generates \n. Yeah, we've been here before -- see 015061690c65 and the commits referenced there. > We have already a couple of places where we filter that out, like > PostgresNode::psql or slurp_file. But we are missing some spots > before calling like() for outputs generated by IPC::Run. I have > tracked all those places with the attached, and I think that this > should take care of the failure seen here while preventing future > problems. Looks reasonable to me. -- Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/ "¿Cómo puedes confiar en algo que pagas y que no ves, y no confiar en algo que te dan y te lo muestran?" (Germán Poo)