Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u2i9h-004pIo-Ou for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Apr 2025 03:00:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u2i9f-008YqM-Eu for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Apr 2025 03:00:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u2i9f-008Yq3-4i for pgsql-hackers@lists.postgresql.org; Thu, 10 Apr 2025 03:00:39 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u2i9d-004Rsh-0l for pgsql-hackers@lists.postgresql.org; Thu, 10 Apr 2025 03:00:39 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id 600E625401EE; Wed, 9 Apr 2025 23:00:35 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 09 Apr 2025 23:00:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1744254035; x=1744340435; bh=VKjJL33CNt GwADleufhXx91LYsJtpANTxqyo4Fvu/7c=; b=FsTtlvsnjFebB7i4d2VPonOBmJ GIlnOWLYvSdZVeo6lHD3FbDqyZyEwUdq6js2DYAjvp1ovKYSyJWpU5QtgTPLbM86 od7/EN75P9ikAcWqK8I2My0bE/zp5dViU0+ELBaAfEh6dWgPaS8RZyzBHjMMb4Yg EOWXAfEacqb5j7TdL3uZyvdGSxw7jv87VUr1JLTD3ERDWDUoCl0HYStfaXJN7Z2Z t7+fhymHVo2rdEAKOICXwm6Vzdn6p1Xo+/xNA1LN4CtKSp+KOMzRJKX8iGt4eaZA +JBEgU3jPSwA0OMcld8tnwUadliI8jhPC1nLHzysilniFsgK1eYyz7+dLuIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1744254035; x=1744340435; bh=VKjJL33CNtGwADleufhXx91LYsJtpANTxqy o4Fvu/7c=; b=TrLzbcUQ82AYAkhaz+4Knco5VuKaQf94R3XcYL6DvujZ4MsmMoC X2XeuR4vqvso6KiI5tBx76ZVxa1W/k1/++KUfP2+wwG76QGPw/TCqI+uZt5yr3YE QGmxFQ6Sg2Y43je3omExyQJ6B7qyfJmpGiHAau4Xmpbbc8A1GnJHjqM0fP/LBCtQ gO+hkuwzhc90yQEWyXVDAS5GsjCGb82y9abMVh0U+zFgAJNdnPYcqarEwzkW88Wt AkOxLKQoFuwqKekWNIun5C0M05/YnV1zpdR5tz4YjH+jHzn/9LWxTTc9PaKqesuQ RLrY6VNMFqCW58I8pQCfXZF0yB7SoX5J3YA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvtdejjeehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefu kfhfgggtuggjsehgtderredttdejnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivg hruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhep veetjefgjeevgedukeehieeuieeuieevueeiudegheevuefggfduueelgeelieetnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggv lhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtph houhhtpdhrtghpthhtoheprghmihhtrdhkrghpihhlrgduieesghhmrghilhdrtghomhdp rhgtphhtthhopegsvghrthhrrghnuggurhhouhhvohhtrdhpghesghhmrghilhdrtghomh dprhgtphhtthhopehkuhhrohgurgdrhhgrhigrthhosehfuhhjihhtshhurdgtohhmpdhr tghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqh hlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Apr 2025 23:00:32 -0400 (EDT) Date: Thu, 10 Apr 2025 12:00:20 +0900 From: Michael Paquier To: Amit Kapila Cc: Bertrand Drouvot , "Hayato Kuroda (Fujitsu)" , "pgsql-hackers@lists.postgresql.org" Subject: Re: Fix 035_standby_logical_decoding.pl race conditions Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OEoVMeZoPVD3bhWc" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --OEoVMeZoPVD3bhWc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 09, 2025 at 12:07:31PM +0530, Amit Kapila wrote: > On Wed, Apr 9, 2025 at 11:24=E2=80=AFAM Bertrand Drouvot > wrote: > I can't think of a good reason to have this DEBUG1 as there is no > predictability of it getting generated even with tests using an > injection point. OTOH, I don't have any objections to it if you would > like to proceed with this. The non-predictability of the event is my reason, as it can be useful to know this information when grabbing for specific patterns in the logs between failed and successful run differences. In short, I'd like to think that we are OK here, still this information is free to have and it could be useful if we still have problems. A custom message WAL record is overdoing in it a bit, IMO, an elog() with the LSN returned should be enough. -- Michael --OEoVMeZoPVD3bhWc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmf3NEQACgkQnvQgOdby QH0ZyA/9EJsG3WONAcMtjVJHQLzjt8K14gQt1wepjNm1qLel1w1UUo3smJjHcUwD 5pgSYYRnhq8Pni/lJ0g3l8Bd/8zE1V0y/wP+Luj7AhiVnUVXZs7xE7V7vtdRh2w5 AlH3sVxrk/AkE3fO/gG/4NTOwAbsM5G8G+0unD4adGZDMTyGM2l3n+FBIQIZqX+w ybScjkzsvzN/eIUmrU9SHyqQSD885t7HlADfDjkWDJGJfB2wARp0nBiRp56tlbKN i0ulQTcbSMQNrjTdPKCz0oDkC1GBVYYpCI5+rL20XCjmvexW4110sA3k5tbXnFzO OncN8mz34olL8sWVeNOrVPcAEVfb0mtCUxZO1vD5SCQF8D4uqNN4D7xqukdj0P1s /H1viTmYCW6BF71SR9ySVDD4AW2KdhFXpQ5AecY/CCKzgSYVnMbpLeP+7ezXPImb eK+ndMIfEtCb/g4MaX09tcVIC3qhbQSsTlbfWuljVgMfu6fmNz3tC4i3GxtvWw87 EZ6Q70cdcQVDDWXL5/R3NW+qUHN4y4Nevyiyoko3jXL5R66dzAyTuL7nTVIMWnmo 9NqL/PzxCZepKFkat72cTG6UzTsDuwCSJJcfNuAyz9J3BQfK6Wezn1dqpasMH1C3 QluWk7TPXlBY4dBnC/OQ15CASe9JocnuaQ187SjibN631xKe5Z8= =c7kd -----END PGP SIGNATURE----- --OEoVMeZoPVD3bhWc--