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 1vEzJT-005dCd-8y for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Nov 2025 00:17:46 +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 1vEzJS-0025zC-58 for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Nov 2025 00:17:45 +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.94.2) (envelope-from ) id 1vEzJR-0025xh-Dp for pgsql-bugs@lists.postgresql.org; Sat, 01 Nov 2025 00:17:44 +0000 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vEzJO-004oiu-23 for pgsql-bugs@lists.postgresql.org; Sat, 01 Nov 2025 00:17:43 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 6AD11EC0222; Fri, 31 Oct 2025 20:17:41 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Fri, 31 Oct 2025 20:17:41 -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=fm3; t=1761956261; x=1762042661; bh=idjyMQsa+E v1SKr1bkhVRKHB98Hn6DqR68E7a9Njo1g=; b=rOE+uWSn3oBAJHs0dwIF4WUXUY x25WS/fY6bq57P/BacyUaIwhm32q5pVcEAQNFdUeAuaiu/0HBbycYuOq+dOOpNDH TpvzTPdMs9yuYwXgdSTV4It6gvMvQwn3X8bPDePRGKiSmF54VIIjbaheQYDRxq6k 6Vjboxza+T30picPe3H12EHjL/NS92G4qN8haYoGkETZW3VeIXpaEhxzBMJHRXJ/ NnxAuoDjLiVEp501Nk3sLsEijOwcVQBQ6ckyAgW7EnAhpmvyZsIRkv7jaF0zZLkU eTcdY4pFOMbkKAAqjWtZ9rvpq6221Y6ACiMZ4esBRVb6+JmuyRUO6jjgEMlQ== 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=fm3; t= 1761956261; x=1762042661; bh=idjyMQsa+Ev1SKr1bkhVRKHB98Hn6DqR68E 7a9Njo1g=; b=iesfZOH/jGTAqsTOqqy4HNmtcVhl1Q9g6V9YtWLfhvqk2fshfc3 W2+muA1FdERyfWzUQ2jr/lbYgCrKuUfkB/3oOw0A/4Gu66cDpy8hWq59/IXcJR4v z6eIDGkeAu1Tnuo1+P9FlUSYkyOfcMX9vDmRKyrH4ckDMer0dijgoItf+ty9KBKB tAjbsAquAkf8L1KlLd0qGPxvr2prB7UPzQV8PJto2Dud1F96q/yAjK5iaHhdxYUv uVHIolv+wGOngisXKG7xUgHsoEg256umTGA+lt2oaV9ED6iPJ+g2VBPdkNNl06/E mmrPFyOFCSr5kjNlvNlr89e9ONBe1yKh0+w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddujedtleduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttdej necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepveetjefgjeevgedukeehieeuieeu ieevueeiudegheevuefggfduueelgeelieetnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepgihunh gvnhhgiihhohhusehgmhgrihhlrdgtohhmpdhrtghpthhtohepnhhorghhsehlvggruggs ohgrthdrtghomhdprhgtphhtthhopehrhigrnhiigihgsehgmhgrihhlrdgtohhmpdhrtg hpthhtohepphhgshhqlhdqsghughhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhr ghdprhgtphhtthhopegvuhhlvghrsegvuhhlvghrthhordgtohhm X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 31 Oct 2025 20:17:38 -0400 (EDT) Date: Sat, 1 Nov 2025 09:17:25 +0900 From: Michael Paquier To: Xuneng Zhou Cc: Noah Misch , ryanzxg@gmail.com, pgsql-bugs@lists.postgresql.org, Euler Taveira Subject: Re: BUG #19093: Behavioral change in walreceiver termination between PostgreSQL 14.17 and 14.18 Message-ID: References: <19093-c4fff49a608f82a0@postgresql.org> <20251027041241.ab.nmisch@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZTvaZnL0Dq75vBNt" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ZTvaZnL0Dq75vBNt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 31, 2025 at 06:50:06PM +0800, Xuneng Zhou wrote: > On Fri, Oct 31, 2025 at 11:16=E2=80=AFAM Michael Paquier wrote: >> >> On Fri, Oct 31, 2025 at 12:07:01AM +0800, Xuneng Zhou wrote: >> > Using a wrapper function seems better here. >> >> For a cleaner git history, the wrapper function and the assertion >> should be split as its own commit, with the actual fix applied first. >> Just an opinion. >=20 > It makes sense to me. I've split the patch for HEAD into three patch > sets. Please see the attached files. Thanks, that looks sensible. I'll revisit what you have at the beginning of next week (local Tuesday) with a backpatch down to v13 in mind. If others have comments and/or objections, please feel free to chime in. Note that the changes in 040_standby_failover_slots_sync.pl are not needed in v3-0001. No need to send an updated patch just for that. -- Michael --ZTvaZnL0Dq75vBNt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmkFUZUACgkQnvQgOdby QH2YkA//Rm9aqWUSB5Y0yIkl/AGdBVrqjFMu1jJfP0YfIViYS/AiWQVXUUK48HVL qLHmJUw9EKyh5A4wftuJ4WKBskMQ1dTMAsRNc/vqM29cid+bq0NJnVphCwe9zyO0 1fWtloB/0N0DxQPZZ4nwU5SNyYNVZ/E1sjt2oguikzLJBtsMXgHsjjyX8HbM2Fy1 c5A5GzE5+7MEmG/Xwq4PvPqbKHgVvVRmvvvXkctoxRpTq0wvy6+K1f2vtIlfzsl7 71SqW4IElKkaeQd0jkrRkIgVaoAR7od0CuAEvxNLw2tqtiKe8rSI89PbtfCWkkax IJdOhHAAAQBwtz/1/exXuErmIzFAEebsvBTMZzVtjeWxREmFyJUJK7lxPej4iIwN sSV5MCQIyROllIy0ijN6UER79PhetFVxvFODX5TDGAcs9c5CAh5Cr1qLmKfPX0oI 0QEHbVCFPcE3AG86N3Q/nDVBLvtwMpCvlcyoXhZYi85JV0jEkmtWqsbDfxfUbnYc xSoEy/tZPXIgm1rHU8AyUuafCkTJkvCX2nqE/XfDTlOlimSUWaly0gfql3CMOfkL g6LW6nPxYDZbb20GtmZCKJwEqBB7lYACS/GXyTS86EbiN97ZcycC16QBxToWzRGC s83fBxaSGecbaIOC6fAtc1gwRJz84o8xzR08unHvO7tTCntDMaQ= =nGKJ -----END PGP SIGNATURE----- --ZTvaZnL0Dq75vBNt--