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 1mR0Uz-00084f-JP for pgsql-committers@arkaria.postgresql.org; Thu, 16 Sep 2021 23:08:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mR0Uy-0005Zy-Ib for pgsql-committers@arkaria.postgresql.org; Thu, 16 Sep 2021 23:08:56 +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 1mR0Ux-0005Wc-08 for pgsql-committers@lists.postgresql.org; Thu, 16 Sep 2021 23:08:56 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mR0Uu-0008Ri-5w for pgsql-committers@lists.postgresql.org; Thu, 16 Sep 2021 23:08:54 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 998055C0113; Thu, 16 Sep 2021 19:08:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 16 Sep 2021 19:08:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=2pO1bzPVvqlcoQd4dC6pcNp+vZz vgBwZYyD7wjV7JXo=; b=sc74AoCINbNNJieB0g2iC2/bIuHmptCltJTUIQe8vxU TAV1Q128UBwxGNwIjzBwppA/CD9q1k4MWH/RsbDc+VZEqXMHUnsc8yIpSzB8s2km ptARxfe6CYEOBqTC3CghArSD2n0WQojkjUO3U8AEF958rm9KWkk38R6SntOwVGua NHZyaYVbSXZz74OOyj5TMJQPbpzSEhHjemzvEZiGhUzU3Ik7nmx80sPmI722UCuJ a3vlFkL5ieoWe4mITFvz3YpI1+xHSbP05e9SZndgv2uQrxGVF/aVDfeZaZrRldpr wdZtx3hZv2QRBQ9c5D9tgl0+C/L848xroG/9SPuPZ3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=2pO1bz PVvqlcoQd4dC6pcNp+vZzvgBwZYyD7wjV7JXo=; b=CXVjLKY37vZgY0xLf3S5i3 EcAQ6w7mUQGQA6Jx77FLuOPjFBnVlMvxAuGv5bikai98joKy5fVH1GE9FCls//fI QWw+PBmfI12t92eUvjKBpgUTXrj3gyPBZ6DD0DAkK6ZrlMB2zL8osQ8B1kHn36ey DkJO4fIMKvSVRsawuwxJtKKrjARiujKiJKapEb9MSrU+9SREQxQK1A7ggfHj8xbN tjKBAELdf6wVr77J5PGE8BfyYr3JTet1oXyaIPc43QVW7Gup3q6zy7AZgnrA2fGd bgOh3DDt+Gc8V33A47mrB7PZTg2O0eEaYuYoGXudggWOSK9lJb1F8DRFb/WVosIw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehhedgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtroertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeejfeetleelheejgeevveehfeek vdehleevhfejudfghfffuddtjefgleffuddvhfenucffohhmrghinhepphhoshhtghhrvg hsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Sep 2021 19:08:48 -0400 (EDT) Date: Fri, 17 Sep 2021 08:08:44 +0900 From: Michael Paquier To: Tom Lane Cc: pgsql-committers@lists.postgresql.org, Andrew Dunstan Subject: Re: pgsql: Support "postgres -C" with runtime-computed GUCs Message-ID: References: <1252480.1631829409@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cQDyix91im/u1FVT" Content-Disposition: inline In-Reply-To: <1252480.1631829409@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --cQDyix91im/u1FVT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 16, 2021 at 05:56:49PM -0400, Tom Lane wrote: > Test case for this seems to have newline-related issues on Windows. Thanks. I missed it. > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dfairywren&dt=3D= 2021-09-16%2018%3A36%3A14 >=20 > # Failed test 'data_checksums=3Don is reported on an offline cluster st= dout /(?^:^on$)/' > # at t/002_actions.pl line 184. > # 'on > # ' > # doesn't match '(?^:^on$)' The regex should match AFAIK, and that worked in my own WIN32, non-Msys, environment. I see the business in PostgresNode::command_like_safe to work around such a case like that in pg_ctl (efd7f8e), very similar to what I am doing here so an extra chomp() should address this issue. Shouldn't we try in the long-term to make the command_checks_* routines use temporary files rather than the raw outputs if these are not reliable, by the way? Adding Andrew in CC about that. 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. -- Michael --cQDyix91im/u1FVT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmFDznwACgkQnvQgOdby QH0jkg/5AUZJO6p4xduQVfR4bJOfASX5WDfu/X9W4jJPzOfnyhpBsQbe0Wr8Hyts KxXNxVX5HU9wSksXt7NxAM0Grv8EogyCysgfQdX4/7r6u5F/og4+Z45lFgmNdFCJ GYZZYWQIpGN/Wer/jIg0u0KEuzOsVhE4i6DqamIKfpkBTlUvCndpItZ5+wPsZa2b QyZOOrjNji77REMuspSiMh2XZi7+vyzcBz+e89VQB+Y1+va6+lQ+SPYnBS8kf+R+ 9gzW0YgU0SawZXakCiUQFyHdAkhQNIWQ/2DpEZDtu+YSa0UtaSRD5qH/ub8bCIym 3DaZBJi4TwjLpZy6kX7ZKAXlW3P9cTQHv0oNmJXa3XoJyDoFdenGVo8WsQi+bb2H V58vqzBY0GKKkdRkhg/Ng44WWpkk48S+84YMPtvM+Z1L8X0YxizL1NnXqm6Nio7g 4+xvFRJwWHTFTilu+xVXCNdCIkTBT+Krg1EbAz4BX8BFuAAWMYC10MDyGvXYXCVP e/iISEy6IMfpusJzyjJdg4/khuN0XeB9KGWBUjGGdyJrPVfpjWn7OPYDpzBV1O9f BuNNsndL8Y2WNblpdpxiTyce4LJLwphBFPMIbCBvhOfeDu8B4lUtv4vgtGlafOLV j5PUKnnKNJLjTPN4aurgtU/PJgCNfUkWVUT4kiDx2mc5zWUNGD8= =1pmS -----END PGP SIGNATURE----- --cQDyix91im/u1FVT--