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 1vAqiy-006Ymj-NA for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Oct 2025 14:19:00 +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 1vAqix-000lnc-7m for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Oct 2025 14:18:58 +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 1vAqiw-000lnL-HT for pgsql-hackers@lists.postgresql.org; Mon, 20 Oct 2025 14:18:57 +0000 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vAqit-002njo-23 for pgsql-hackers@postgresql.org; Mon, 20 Oct 2025 14:18:56 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id D89971D000D1; Mon, 20 Oct 2025 10:18:53 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Mon, 20 Oct 2025 10:18:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm1; t=1760969933; x= 1761056333; bh=sgRr94hT6RkkY1eZ0TxNXVqDCRXkuVs1idLtlqFFOTc=; b=M Ne8XPp83xTlcXSTRFDYgLwTHffarzBkLGGA90/QLKP+cdEKzspdGjifJUsMpc+Cs 4wCdtEWxvs7kXXSJstGlcgZkBbPJzvQuMd1kex7d9tpMaMmcSCb1Tq4o6nyJY+oe 0E0rACBby/xVER61pZbLX8BPLaCKrwrsAmuo8UXhLPNUUEAr8MqnSW0sa7ivzkHy 3xqYp4OywvjLzpc0W3pc3tkW+WVoCb3n68ckwS5WXHWXf+Jj4s2HROFvmaILsc7R OaeclM8f93oFRFU2jKOQV9bLOlVcaclCKw22HTOUQAO0M8opo9RTJxW8RdaCkL+0 NU1SHpgCT8bkPKUCS1AyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1760969933; x=1761056333; bh=s gRr94hT6RkkY1eZ0TxNXVqDCRXkuVs1idLtlqFFOTc=; b=ECnKxm+Et/enzfUjo D75Jk+SasZdB6x/6YtwdPZxKj5ohZQj+ce6CmcgUxKn+kDMPD/i2LiPZNj9Elz3c Jb7q7DphJYZCi8UDq1aWHZWCcCGeP+MkOklKY1NMvTa5pjUOSdr3tfeAIsalSeSl DXBdzxGijoNu8+PFrnVh3TGEbrqQ4c2LZS7fQedUa6J8SuyGvEQjKE16aMGjBLDJ FlJ220YKevrh1uLCtXCQ2+vLY2+NgkZWsLIF76nejomvzrCmz63bCyzffCv4G1C7 Y87BERmEIpcecnlF+2nF865bMEeXLZdcD9TGc7iMBWr/DWEDeP4QB3a5l8nLHXta M6awQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddufeektdegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeetuedvheffkeevgfeuheevteevkefggedttdeufeeuheduuddthfef fffhjeefffenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopedutddpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepjhhovghlsegtohhmphhilhgvrhdrohhrghdprhgtphhtthho peefuggrnhhishhsihhmohesghhmrghilhdrtghomhdprhgtphhtthhopegrlhgvgigrnh gurhgrrdifrghnghdrohhsshesghhmrghilhdrtghomhdprhgtphhtthhopegrrhhsvghn ihihrdhmuhhkhhhinhdruggvvhesghhmrghilhdrtghomhdprhgtphhtthhopehmrghthh gvuhhsshhsihhlvheljeesghhmrghilhdrtghomhdprhgtphhtthhopehrihhshhhurdhp ohhsthhgrhgvshesghhmrghilhdrtghomhdprhgtphhtthhopehsrgifrggurgdrmhhshh hksehgmhgrihhlrdgtohhmpdhrtghpthhtohephidrshhokhholhhovhesphhoshhtghhr vghsphhrohdrrhhupdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtgh hrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Oct 2025 10:18:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1760969930; bh=5Jd7FuIXMEhy+S+gp/ZDsVdm1AH5l3iSiFJv531Q31I=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Ps7r5wr5ne0UOOAIw3WdBa4v2wdX/JAgpiQXWX4WGrI0+cw+JD6ofPNIPai7KRZcz mgB/U5FOdtRyovBApp8FoAOmk7yADm/LBWPQmWRgXLpoIJmQOBx8CgbjuaEV6sVfCd aPwRGgKrMKcQQ/orWnGsqsYbXis9TrZNefLlFsM4e3eRJ01WZVnWgSwj29wyHjVh4a lIzgp9Fp/ioh5UYUI2AByWn8BL2FIHBxKH8AlVHf9x6C2amyL/UeLXTawVTF0zcbkp inJ80NsXRP/HeFAlMmfuATyICCaWgi+iIQc77sBUPX52RtL8a7DznnJsbAmdWy+W2g jH4haj+QpiJrQ== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 6698F6A; Mon, 20 Oct 2025 16:18:50 +0200 (CEST) Date: Mon, 20 Oct 2025 16:18:50 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Matheus Alcantara Cc: Joel Jacobson , Arseniy Mukhin , Masahiko Sawada , Rishu Bagga , Yura Sokolov , Daniil Davydov <3danissimo@gmail.com>, Alexandra Wang , pgsql-hackers , Tom Lane Subject: Re: LISTEN/NOTIFY bug: VACUUM sets frozenxid past a xid in async queue Message-ID: <202510201414.56f2msqusjla@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Oct-20, Matheus Alcantara wrote: > This is similar to what was already proposed at [1]. This approach was > abandoned because a notification on the queue may block datfrozenxid > advance and clog truncation which can cause other issues for the users [2]. Well, I think that this is the right solution for backpatching, and that you were wrong to abandon it. You can continue to design a better mechanism for the master branch, but in old branches we cannot really do all those things you're proposing to do. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Cómo ponemos nuestros dedos en la arcilla del otro. Eso es la amistad; jugar al alfarero y ver qué formas se pueden sacar del otro" (C. Halloway en La Feria de las Tinieblas, R. Bradbury)