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 1ngJQB-0007lx-3S for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Apr 2022 04:55:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ngJQ8-0001aR-T8 for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Apr 2022 04:55:28 +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 1ngJQ8-0001aF-3m for pgsql-hackers@lists.postgresql.org; Mon, 18 Apr 2022 04:55:28 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ngJQ1-0000rA-Ir for pgsql-hackers@lists.postgresql.org; Mon, 18 Apr 2022 04:55:27 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 2BA7C5C00BE; Mon, 18 Apr 2022 00:55:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 18 Apr 2022 00:55:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1650257720; x=1650344120; bh=8MtZgxt4fG 6vgfCRF83rrFL4Fg3j8rmFCaXfy3X9XCc=; b=cPjppkGjB/hnA2K1SeZNxKxVpB UerkLGbzc9zfsnQBwZmYV4tg6fRPlAd6J/intJ6lC41rIwq0vE+eThszp241YPX4 ijwvzXHGulqjR+NMYMZk/fPlSQVVDuSJTgbMHNZA1tgcbd6YDmtqTehxBcFj8jBb fil+64FlB3bGvjkAJdBrQFEZxjEmVD1ILRSU9DgmNMNRQBVnv0OCRCss33QQSUGR Wj5XK77U1tIAFjJeEEMd7JzfCrRShJuv/APjWGDcb2P3MEPEHpKGQnaKsGgV5+ih bOIuDxFZY8/0dm7dRnOfHOKAAWPTIUvJsUDUnih2qsMp7BTKlPykzmv35Bqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1650257720; x= 1650344120; bh=8MtZgxt4fG6vgfCRF83rrFL4Fg3j8rmFCaXfy3X9XCc=; b=g /hPWMuSzHhj/QMH6H/yPs1QrKA0wKfpWMy1bN5ZWugteo0teiwC1gJz90BLhRtMZ WqmiaXtEUiBHwh5kXD05Q7EiKmvq5YSX+Tb4K3qe0t97UpuZIEg8vtKP8GNGfBhi VTPXlwlqun2oW8riiGOWtldzQmAjt/7HhHqNlum6LoJL2GCPZH3MkeONWIT3LGxo AI5VfXuV+VnwJX0vzrDnb/6+vDQMPpmpFbbw2SCcrLXSPxmqGvryAsxMinLWmbyW RmcNV2srVmsKdSgT+EIPdBz+qypjxa/csJbThfIDJ3Ep7KnsheNkabyiizRTybhJ QVQj3imXYBx2gjV7OcAxA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrvddttddgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeffudeffeelgffhkedukeekvedv udfgieetkeekudelfeevhffhffdtudffieeutdenucffohhmrghinhepphhoshhtghhrvg hsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Apr 2022 00:55:18 -0400 (EDT) Date: Mon, 18 Apr 2022 13:55:13 +0900 From: Michael Paquier To: Thomas Munro Cc: Andres Freund , Tom Lane , PostgreSQL Hackers Subject: Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman Message-ID: References: <3385143.1649353230@sss.pgh.pa.us> <20220407175210.q44nnrvkovprxo2a@alap3.anarazel.de> <3386734.1649354265@sss.pgh.pa.us> <20220407181202.7xa573u6e2z5dbdz@alap3.anarazel.de> <4015413.1649454951@sss.pgh.pa.us> <20220409005910.alw46xqmmgny2sgr@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TMNXFLXy4gkJ9BOE" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --TMNXFLXy4gkJ9BOE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 12, 2022 at 12:49:48PM +0900, Michael Paquier wrote: > This comes from df86e52, where we want to recovery a history file that > would be created as RECOVERYHISTORY and make sure that the file gets > removed at the end of recovery. So $standby2 should choose a new > timeline different from the one of chosen by $standby. Looking back > at what has been done, it seems to me that the comment is the > incorrect part: > https://www.postgresql.org/message-id/20190930080340.GO2888@paquier.xyz acf1dd42 has taken care of the failures of this test with skink, and I have just taken care of the two races in the tests with e61efaf and 1a8b110. I have left e61efaf out of REL_10_STABLE as the idea of relying on a poll_query_until() with pg_stat_file() and an absolute path would not work there, and the branch will be EOL'd soon while there were no complains with this test for two years. -- Michael --TMNXFLXy4gkJ9BOE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmJc7zEACgkQnvQgOdby QH3Qpg/9Fj8sWldSDWq9K8g6iAZjLIU1S3+0/FyPvxR3Ud8K6suJfxxFA6AczzB2 4pwJCbw3gT14+fqBDjWzBa16LT6w6+1B9pjHo67T5ckUSm2PtVGV57UDze6BMb6M 2tGQsn8YfNIBuTHVgitmRqzO4U0ruzvXtEhHbZIDV00filzIAh4GK3H0OujsYbop vbFHyagug9phS3dPVWO8kdaW1yXFdeE4toTAGz/2wRdRb3FD2tAyx8sFxuDTgAir R2EERdtrz3JXHoC5/KoESLxaz2GYENnQDkkiTvgXPF83AfO7yPTWcrYyYEIFHgOd Ka/3JvXGZFHIOz2ZYibAMQcg5dmQjt39nVJhHuN/EExnqRWO/WK1QIuO9Iwwr8nQ tgW7DfKBz1WmXG5F/2wcBw2BQyJGhQHX8URkZZU0HHDh266VdIjcrC13rNxtZLf1 6wNrdeLEiZrOSg73v7bOf/MB1Fge2W7YWPDpTJcbWU8WoRuVp6kKq7+BdEBsx/KV S3xHR9imke4Q6LS6cmgzeNJ3e6QzzI0ZJrXleASOHLeJnFlGlE+FFvOJEOMB3ACL 25sFJSZ6lRhnAzGLu6uUC5XO3hSxBmYKBiNvQZIYYhvsk7508PLjjaqy0tRa8iD9 /n3zikUwTFjybzObZjk5L/4nivxVmuOLHxMrH9h5bagYzCbJNZo= =RhT7 -----END PGP SIGNATURE----- --TMNXFLXy4gkJ9BOE--