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 1x67BV-0002LY-09 for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Sep 2026 13:57:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x67BT-00DQQY-0V for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Sep 2026 13:57:23 +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 1x67BS-00DQQN-2m for pgsql-hackers@lists.postgresql.org; Mon, 14 Sep 2026 13:57:22 +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 1x67BP-00000000Oej-09t6 for pgsql-hackers@lists.postgresql.org; Mon, 14 Sep 2026 13:57:22 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 68EDv8iB109495; Mon, 14 Sep 2026 09:57:08 -0400 From: Tom Lane To: Michael Paquier cc: =?iso-8859-1?Q?=C1lvaro?= Herrera , Kyotaro Horiguchi , pgsql-hackers@lists.postgresql.org Subject: Re: Translation of the NextOID message in pg_controldata In-reply-to: References: Comments: In-reply-to Michael Paquier message dated "Mon, 14 Sep 2026 16:08:10 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <109493.1789394228.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 14 Sep 2026 09:57:08 -0400 Message-ID: <109494.1789394228@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > On Mon, Sep 14, 2026 at 08:41:59AM +0200, Alvaro Herrera wrote: >> I'm not sure I understand why we care that we hardcode that Oid8 is the >> same as uint64. It's never been a problem that Oid is the same as uin3= 2 ... > For me, the reason is greppability of oid8 information as the > variables printed in the strings may not refer to variables declared > in the code. Yeah. It's not a big deal, so maybe PRIu64 is the best option. I just wanted to be sure we'd considered whether there's another way. regards, tom lane