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 1w9aJn-001Yut-2N for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Apr 2026 03:08:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w9aJm-006I92-14 for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Apr 2026 03:08:02 +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 1w9aJm-006I8u-0F for pgsql-bugs@lists.postgresql.org; Mon, 06 Apr 2026 03:08:02 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w9aJk-00000000pmy-0N43 for pgsql-bugs@lists.postgresql.org; Mon, 06 Apr 2026 03:08:02 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 63637wtR1199323; Sun, 5 Apr 2026 23:07:58 -0400 From: Tom Lane To: John Naylor cc: rekgrpth@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19450: Where is checksum_block.inc.c after master install? In-reply-to: References: <19450-bb0612c50c6786e5@postgresql.org> <1197033.1775443854@sss.pgh.pa.us> Comments: In-reply-to John Naylor message dated "Mon, 06 Apr 2026 09:57:40 +0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1199321.1775444878.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Sun, 05 Apr 2026 23:07:58 -0400 Message-ID: <1199322.1775444878@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk John Naylor writes: > On Mon, Apr 6, 2026 at 9:50 AM Tom Lane wrote: >> One could argue that the real bug is having put a .c file into >> the include/ tree in the first place. Why was it done like that? >> Couldn't it be a .h file? > That was the way it was first coded. I thought of this way to avoid > adding an exception to headerscheck. I can reverse that decision > easily, but I may not get to it today. Ah, the good ol' law of conservation of cruft. But on the whole I think naming it .h not .c is less crufty. Agreed that there's no great urgency about changing it. regards, tom lane