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 1x60OK-000PlH-2h for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Sep 2026 06:42:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x60OJ-00Be7K-0j for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Sep 2026 06:42:11 +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 1x60OI-00Be77-0U for pgsql-hackers@lists.postgresql.org; Mon, 14 Sep 2026 06:42:10 +0000 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x60OD-00000000JxF-261Q for pgsql-hackers@lists.postgresql.org; Mon, 14 Sep 2026 06:42:09 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 4542A14000B4; Mon, 14 Sep 2026 02:42:04 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Mon, 14 Sep 2026 02:42:04 -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=fm2; t=1789368124; x= 1789454524; bh=NPqP9R/XGfnUlZRrSDPL/nyg7SPnt9L24opKX1N4MHg=; b=B YwoNe5v4JqK67VSW+LaSCsh4kIYzLZ8/MBo5FQ4+Wkf5A5CcYcIfWiCLD2PyyCOJ TOTq1nWABgL1e2q2zlfYxgaXnNJ8GXNlLmSf9y0UP1C04Tvs1Yc6cSJ1yHJDrPA0 MN32xsY+uCAECQqd9LtNhwI9Nmecgef24OZ2EUT6KyS6FnUUbqeIsycHi3UVHKlJ NQxZ1fwhpXAKpJS7YaqhCMBXknvahvMCB8eogOVMp9dRZwISBmYWrXUD9z0ZZhY8 ftBFDwK7+XiF3ksoedRW0QItI55wH+FeCmUpxyQRu2CM7AQNkmdxLWkKbd1oSAJ9 Ff4/fcgVZQoiFIzH7z26A== 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=fm1; t=1789368124; x=1789454524; bh=N PqP9R/XGfnUlZRrSDPL/nyg7SPnt9L24opKX1N4MHg=; b=nx0Sq9NPld4JMtqKL 77j8q3qd+dip11Sd7hcK1MJkkm3Q6Gw/jE/CnBF9PQ3voUmEQ15jsI9lIU8/TPwF 8WmfWmc0WGB8UhUVBR2uD5XrgCHEbDc3poPv+nSJ3NqioFUf2N0rrrypLCjIHnbS ZvOIjzVWPjG0hu0s34/D0GN4+KlV6KJLjwKrzKSUP85RBtXI3ia4s6qjHi2Vb14I 6q20EjGbvclWhfIQo/LhCQ8/G/vbdi7I+B2CIlyKjI/+KCxaJbZya5ccwfKsGFDt Fr3jWeGM4Ei/cLl1Jbok9lWrLkRFdOoSPZepU07XwwMuByM7AirYaGejaEtv6oiO TuIow== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFjwSSaKNL8nfTcd6xAz3+BGvByM6AL2HQ/7PQNhdBgYCaiKGO3BuOhlgLQXyV9GK cvfSH+yrO550WGfSroIGzlr5tbiaVoFnbslkvUTqpbMc9GL0bp/I+YwtKaIa0Sr6uuu+pi ZyPemTjKcC+F2fHhr3+I/InqMAU0XGxNtey0YbTIUl1h9ZLIQgHQ47OJS4ZOjjL2vsrsfV eFtIrEZbJNsk1aAYqYORKbw0tIFjNCWmNN2WtjqW6Ju2FVvzT8o1GWnKqPUBceS2f9G25j rfJBfsz/0X2dHGe3TNI3wZPqp08KGzn4gcCAOf8LZ2vAKQcsq2mvUOPyne5pPNKAwC8RK7 PGvHdetT2BHsMUsUlWCrB+d+3fylgWJ5p4TCpECUO/nO+GTPtZuYc0ITOivNqagBz6+I84 22x4UzcupZ7DNJBlZN/jrlV2Agnr2uGdkls/nhdDombM/jzYtPOo/J+rT23+oe3GSW1Nr8 F5gQPhCU+WFcb18eyvgMbi8lkT9IPAfSMqLBGMb80CPxmTu1l0zlTcqG1bbqSd6nlahsa+ ARNXDRyuqbRf/ZXHqTBu9LZSmrnloD3noqayEr4ekjl1134uvf334rc7hibGQeDcBInusr RdL1SQSsCaaQoXoAP622LcgfaFGiTJvcrF/yG4FqhAyHoJlTWhh2WI0y/jcA X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Sep 2026 02:42:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1789368119; bh=C12yu7oEOc9qJiwa8vc/yu+OimpbhyzFChdlrJbQpc4=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=QHLgZf6NK3m2UVjtq5uXrFJrARq18is1uDo6pgmPbVaRFL+B49kKXs8Mo2RLD8/ek dZDvLtXXV51Jtun6V6KK1z4i3ZoEoJTHSAos5AhtMW1P93QEvuzbCDKncM4tHp9vac qnShkB0NyQZb1Vs3gD2iKIzmkFSJfhrVVgPAgJQkg2Iy/FAstyTZv02hoMha/1r+B7 8fdi7C/AbeynwKEKbsOSKzGIZdi12SZ/6Uyx/taMEqWX8sLlXQNZX+khXX8fmsg1Jo /QNaMzMe52yYcoItpauJ9z4qEEZJwk/huKjKGQhhIjMlsguHTcJdherDDjzy4bRe6E MBywBq/UDEBrQ== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id BDAB7B002D6; Mon, 14 Sep 2026 08:41:59 +0200 (CEST) Date: Mon, 14 Sep 2026 08:41:59 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Michael Paquier Cc: Tom Lane , Kyotaro Horiguchi , pgsql-hackers@lists.postgresql.org Subject: Re: Translation of the NextOID message in pg_controldata Message-ID: 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 2026-Sep-14, Michael Paquier wrote: > The magic solution I can think of is to remove the markers from the > translatable strings, and replace them with a set of %s, as of the > attached patch, then use a pre-built string that itself uses > OID8_FORMAT. I am pretty sure we have used this method in other > places of the tree, but I cannot pinpoint where, on top of my mind. Yeah, we used to do that for long long, until we got rid of it using the %z format instead. I was happy about no longer having that coding pattern TBH. I think this change would break what I proposed in https://postgr.es/m/202601310924.yoik5n3blgt4@alvherre.pgsql (FTR I decided to heed Peter's advice and not implement it in the way proposed there, but instead build some generic facility that can also be used elsewhere.) 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 uin32 ... -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "No tengo por qué estar de acuerdo con lo que pienso" (Carlos Caszeli)