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.96) (envelope-from ) id 1wDr27-003Qnb-1d for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2026 21:47:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wDr26-00BIyZ-23 for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2026 21:47:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wDr26-00BIyR-17 for pgsql-hackers@lists.postgresql.org; Fri, 17 Apr 2026 21:47:26 +0000 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wDr24-00000001X8D-1ZZE for pgsql-hackers@lists.postgresql.org; Fri, 17 Apr 2026 21:47:25 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id F34A41400162; Fri, 17 Apr 2026 17:47:23 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Fri, 17 Apr 2026 17:47:23 -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=1776462443; x=1776548843; bh=rXLBvCRZHL CsJf1okdSxcP5DaFVNGqXW9httLZss7r8=; b=Z0LajbqMXvvJAxHLNohdTSZ40Q xvyU5L/R/m3jgLIg8GgRykQJG6ML7vzt9MuZIa9+Peq+cy34KUCXmGeX4ZN2pJEd 3di45PWjyFc1gPx1ZXrOaK2IAuZfCaY2EazR2rBzd1Zkb/EyRNWNi2shXa80GeZy Wpu/Zt0uLGzpBp0OW9SU3URmb2yOzfXMYcNSPxnDWh9TOnb9Sn86Zeh/lCzUGJtR B9bKE9YBmgvLQpxWLB5LM5IihR915D3ePJkgKBYteW1uiKxuOvnCAYqRtfHdWhXk NQVQgnRWwFgtvpRZDfocwjD6uxrQJhjWdT8m8oRPytScAcL2VnEDoFMg6xmg== 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= 1776462443; x=1776548843; bh=rXLBvCRZHLCsJf1okdSxcP5DaFVNGqXW9ht tLZss7r8=; b=GmvJTqkisaIM9MMLstM9HS8v9XGH4QmEq2sXiozmCCarcYMEXXy WGFO5cK25RcGTg/mK5lDZpxtVBWJJvwUORpMm/tfaqPH6hN9meF7Xk5Tnt+iWFj3 u9ponCIO5RMOzzhJhvGB5bP5ty6C8rGoyMEbkaPaXfefVoy+URFLli1oMgLDlk2a NTKDRkQB1Btb1ZbrlPgDFEJspPj//RhVPgQdHNlyT8bj+pCd73NjODCQKVrqn032 qZdO+0TmqoLvsjdAisJ/spbZBTy7bTamYkW0TjxuCKBW+0vkZ+OtxJKukXf81/Ex 086yv1GWxhx7NkS+4JBHd1S0y88JJ7eoNYg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdehtdellecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeiguhhnvg hnghiihhhouhesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgv rhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopegrvghkoh hrohhtkhhovhesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Apr 2026 17:47:23 -0400 (EDT) Date: Sat, 18 Apr 2026 06:47:21 +0900 From: Michael Paquier To: Xuneng Zhou Cc: pgsql-hackers , Alexander Korotkov Subject: Re: test: avoid redundant standby catchup in 049_wait_for_lsn Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iyuxag5KhNENjmbE" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --iyuxag5KhNENjmbE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Apr 17, 2026 at 08:25:35PM +0800, Xuneng Zhou wrote: > The change preserves the same coverage while removing one redundant > replay catch-up on the delayed standby. It appears to reduce the test > runtime by about 7 seconds, though I have looked into why much of the > improvement comes from this change alone. Alexander may think differently and remove that, but I disagree. The test is clearly written so as we want two wait checks to happen, for for CREATE FUNCTION, and one for CREATE PROCEDURE. Removing the first check to keep only the second one removes its meaning. In short, I see nothing wrong to deal with here. -- Michael --iyuxag5KhNENjmbE Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmniqmkACgkQnvQgOdby QH24vQ/9GBVn2fO/rWDGddgNCRuUYP6zQHDDTtrG/cExliKfTUwuLgbrjF9nOtCG tBUFXY+w0LAQ4tAcEEVUR8lNfjFNdQ2eO2GlUwXzzJ7jG1mdsRMGhBdEteFvkR/d 459K9ihm9Yl3q4I6EIyaadvSpK5lUuVnROl/PruXmPo8kpehOmvIGZ7fbp3cnz19 eCziyes/JQHtTONuj4rzAHJFII0wldqLKVqLG04Ibf2QKEbPVnRM3f4RjC4DfTy8 8XcpEqUV89KGuvM5Uas4gqmW/bmArCfVcgaKKx5E8Hi6RWbvDmjhswTZ34AKE82Y umnKp6zxepVgNEFwFiUJwpTVCV1znztszPzaoYx27M9hB/R4tyIltJg3QRo0FhaX zjMME6VuNXklGnH5/wl8rs6BalWzorMPG/f2mlO824PwpMQTTkF9EifNJxyHn5ME Wo4nhFjRZ0A9/caKjo3k1PfM4dSOEU8gyovK/zLP4ok0LhOlajxmWJC56gHvtq2o 7xJpoJODzyGXM8QQrS/u9Gv+TmMdirHpLY9HDlgSe+f0jKeQcBMS4kN6BE11i8dj hoj9nnAvSDm4JT9DlgYaB+qzSNh/Y9zSmNNasRxedeK/RF3qHECVIMv92cQglTLM QGblwGkm65N8hocLgmxlK3bgwgMs1DpSe2Gy63dLhMTpaJI3nl0= =ZCKo -----END PGP SIGNATURE----- --iyuxag5KhNENjmbE--