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 1wLGyk-001fUa-1b for pgsql-hackers@arkaria.postgresql.org; Fri, 08 May 2026 08:54:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wLGyj-008rVx-0L for pgsql-hackers@arkaria.postgresql.org; Fri, 08 May 2026 08:54:37 +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.96) (envelope-from ) id 1wLGyi-008rVo-2d for pgsql-hackers@lists.postgresql.org; Fri, 08 May 2026 08:54:36 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wLGyg-00000001Cad-2vYU for pgsql-hackers@postgresql.org; Fri, 08 May 2026 08:54:36 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 549A45C53F0 for ; Fri, 08 May 2026 10:54:33 +0200 (CEST) Received: from s899.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id 40F1A5C5BF9; Fri, 08 May 2026 10:54:33 +0200 (CEST) Received: from localhost (unknown [172.22.191.5]) by s899.loopia.se (Postfix) with ESMTP id 3E3EE2C8BA65; Fri, 08 May 2026 10:54:33 +0200 (CEST) X-Virus-Scanned: amavis at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s472.loopia.se (amavis); dkim=pass (2048-bit key) header.d=yesql.se Received: from s981.loopia.se ([172.22.191.5]) by localhost (s472.loopia.se [172.22.190.12]) (amavis, port 10024) with UTF8LMTP id hDvneyApGicU; Fri, 8 May 2026 10:54:32 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.236 Received: from smtpclient.apple (customer-89-255-232-236.stosn.net [89.255.232.236]) (Authenticated sender: daniel@yesql.se) by s981.loopia.se (Postfix) with ESMTPSA id 9FCBB22B1786; Fri, 08 May 2026 10:54:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1778230472; bh=iGFmOMSXwp8wohASbOxMMcOkFVml85mDHhDBuYOkLzo=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=n5g/bIR2nazneX6EQH9qN0U3Y9VhFjArdmKBNCTcPvJ3CaLlgmrGN3JohQLAFN7r4 P9r8bnTiSPKzLFhmjgxzl48LmPRZCYDKOkH+KAb1nng2ovo6wd9PHTPbVPjM3XzAa3 uq53iQSjIxWHEbcPZJm6kML7RTqhY5AR/Dm5tEvMm3/D3CTSXG9fs6+1VB4qEsL/Rj u9NezWqwlwdWl1XyvGT0u1tTQfLI1TdLSyumJK8NqSMUbdoefwe8dIzsMDxqN1vGcd +Xy02KisCDO8Q3wYRXt7CI1xEh9Yzd72W+VZAdqEYZNmHtShZZF3BzD+aXup3w697Y L7uceBcr7bVyw== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.2\)) Subject: Re: remove obsolete comment in AtEOXact_Inval From: Daniel Gustafsson In-Reply-To: <9ED67E9F-9735-4033-AF27-31A674DE75C8@gmail.com> Date: Fri, 8 May 2026 10:54:22 +0200 Cc: Steven Niu , PostgreSQL Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <3F5432E3-7E1D-4B18-B745-0B6FFC3EA37F@yesql.se> References: <9ED67E9F-9735-4033-AF27-31A674DE75C8@gmail.com> To: Chao Li X-Mailer: Apple Mail (2.3776.700.51.11.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 27 Oct 2025, at 04:50, Chao Li wrote: >=20 >> On Oct 27, 2025, at 10:43, Steven Niu wrote: >>=20 >> Hi, Hackers, >>=20 >> When I read the code, I noticed there is one line of comment in = function AtEOXact_Inval() which is obviously obsolete. >>=20 >> "This should be called as the last step in processing a = transaction" =20 >>=20 >> Steven<0001-PATCH-remove-obsolete-comment-in-AtEOXact_Inval.patch> >=20 > +1 >=20 > The comment of "void AtEOXact_Inval(bool isCommit): > ``` > * Note: > * This should be called as the last step in processing a transaction. > ``` > Was added 29 years ago. This comment was part of the Postgres95 import, and was originally added = to the function RegisterInvalid() which in turn was committed by Cimarron = Taylor in 1990. I agree that it's no longer helpful and will go ahead to remove = it shortly unless someone disagrees. -- Daniel Gustafsson