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 1krw1B-0003G2-BC for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Dec 2020 04:44: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 1krw1A-0000ln-22 for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Dec 2020 04:44: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 1krw18-0000lX-FD for pgsql-bugs@lists.postgresql.org; Wed, 23 Dec 2020 04:44:55 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krw14-0004M9-99 for pgsql-bugs@lists.postgresql.org; Wed, 23 Dec 2020 04:44:53 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 6F5C8FBE; Tue, 22 Dec 2020 23:44:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 22 Dec 2020 23:44:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=T/M1DpiowehWgEZc6m39336/ON+ YbLpmByr5Hy5YUic=; b=Tb9gUKBO4aIgydQw5wmz//EQzhd0m1O5ZbeFgO9JE+X PEP/0XGu4RIw5gElymCETZdG+JtZDWFcviwO0ruhr9OoFS5H3TkjaVwaBgg3qGG/ oo6yIRTmy9hUqql1xFL4sjQGqW2bvZ6ZKzePdOO4veQ3AbR1Mpu+RPGMXR/CAv3q nwGopfCBTg/M03Rzm3eP93PifrmhLL3DZke3TgVSYxAXU+bfwbx/xLgvh0gySn0+ saT9bH3UPMWZ9Uu91safRMW1Dmudvl9Sj4mA0S4RMhEpblT2ryRLpN9sXeQd1pwU K2DqJwJ7O+P5C9bIQuyFTO3oR5EcNl9A3h3HNQ940zg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm1; bh=T/M1Dp iowehWgEZc6m39336/ON+YbLpmByr5Hy5YUic=; b=VyVPLoPwKvvdn26MgeG8Hq 0I6J4gQQ0X4wkKrP+gl2ValKr/MG+nN4EMjlQB7WyZeLOkwuqQzOc+X5XOFcFh4b OFHtIx3QTkaMwu4fCuzRbxj65KQzGP56UYn7t5LA9OMx3F/98WGZT/t0/ASy299A Zhvy+I6fj6FMMCya+IueOKYr6WMf5XRbXGqPLal0dF7OiNEKL17Z+Boj+6G1RhQ2 +kxySmXoOIadu3toL1dIATPvCUIc2s3s2pIsX54oDT7sNr5oywpYR7dBfKX2+0Ou iotKafh6xgUodn44IA9WN0+WV5WlP/kvVs7t+iud5DHu/CSPsK4M2bmPZ6VI3u7w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddtiedgfeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucfkphepudduuddruddtvddrudektddrudekheenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 0C2D624005C; Tue, 22 Dec 2020 23:44:46 -0500 (EST) Date: Wed, 23 Dec 2020 13:44:43 +0900 From: Michael Paquier To: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16780: Inconsistent recovery_target_xid handling across platforms Message-ID: References: <16780-107fd0c0385b1035@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2KZd4fQWYjuFm381" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --2KZd4fQWYjuFm381 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 22, 2020 at 02:02:46PM +0900, Michael Paquier wrote: > So, attached is a patch to make the logic more consistent that I would > like to apply down to 12. Please let me know if there are any > objections or comments. I have looked at that again this morning, and applied a fix down to 9.6 with the change in the TAP tests based on pg_resetwal. In 9.5, pg_strtouint64() is not available, but this branch is old enough that it did not seem worth the extra effort. -- Michael --2KZd4fQWYjuFm381 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl/iyzsACgkQnvQgOdby QH2LcRAAmB6Bj1uicUTq/Dh6iKBL8J+OF8qqW+9DvdT5cxXu2BGwnjrvOmBnMUg6 RhOsGpOR8lZSyPkvA9F4q4Kgv+5Fz7RWnoiWfxsHBF+5cgNJfsTPyqJMSLp+mNkG mb4MB6JhGfDpqAF973T4+cgT1ikwikPOFxFdKjLGbNiSRn37eUw06BMkXf/+BnrA us6DjueLhcqZ7gSyZSpacde/rWDWgZXxcb7xEuhCQ68nunrCLxCqwrRA9j9ESyk5 wv31rT+M5z+5/pWaukiVqs3OSs2U5ys8jmUbXkCmCYRTIG7qrP4NoC/YgysaL8gU XTG7Y05AXFg0MSuAvQa9bxPlymGQJJIs0If5DAWwQ2ndxwGMQaHeZKz2gX5kurUl Y/2VGdJ6x07BUZnNqM4Oed2re4bS6mYUjac3qgs6r+t4RLfICMxGuD0KzYIr8A8v WKgsmKvrYwwXfZ6z3B3damFlJ+RZ6vH4h2v1JyoWCKuYVjp2s/qOE57UjHI8L5bS 6qKuXvR2gud3+QGC7vxAen6SsOiZ3y313yI1+YtiId6e4Zi85tWCoWUQidMGMKck AAiPWP5/l1zOvuzAUkV2zWIIq18QXuGvsLFR0fT0IdagJ+XUlo6a5DD3JxMzHSUe FLno+kkgmNQvDAACEceyCF12RUiFabtf3jYkTC7djAUYTD6kobk= =cqtU -----END PGP SIGNATURE----- --2KZd4fQWYjuFm381--