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 1vLleN-009hji-1E for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Nov 2025 17:07:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vLleM-00E5DR-02 for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Nov 2025 17:07:22 +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 1vLleL-00E5DI-23 for pgsql-hackers@lists.postgresql.org; Wed, 19 Nov 2025 17:07:22 +0000 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vLleJ-000OWi-2e for pgsql-hackers@lists.postgresql.org; Wed, 19 Nov 2025 17:07:21 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 43AB6EC04C7; Wed, 19 Nov 2025 12:07:18 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Wed, 19 Nov 2025 12:07:18 -0500 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=1763572038; x= 1763658438; bh=MNIg+FX/HMGITSxiA8IlOus5OwdSLMsv6APYKPc2C5U=; b=X q5RMpFZA1u/mvJlGD35ef5NxC8TaehXUsdhmYSAadfAk5TfpAl0Nw4ZyL0AJrS7P oawZQTZyhObRw3ehYMZDIiwfqhH9Sj+3iAUJ0gePjSoq90svlXz/dFwgr9GLelSB qOdF2MgaARssqKrfc2CmwriJbpQNPRiN+rctddNdiuoVNsMdM1p3OAtJVD6OJYoA W/RaxwDrjxMw174FE1W4lB+TPrbKHIvLBDK6HDI2MvARIXnlwNRIjTxoC6G9HVI8 LXSTMvtfqCcikNZJSgDyBkVKyrFwIWOhg2y+5FALk3M6HdA8A8e4g6tpWN4pe50t sPHelCLp2WYgzl/JaYkfg== 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=fm3; t=1763572038; x=1763658438; bh=M NIg+FX/HMGITSxiA8IlOus5OwdSLMsv6APYKPc2C5U=; b=sLJGs/hEBVKDUvdoK DUP8whG9e1zJMrhKvlZ4T/ltlf5e9EiCQOvJumZKJMTHaCWsVX8fqHkZ7IVdQy7D dNuut02WRPYrs6RvqQdb1xXOjKtNsvmbBVBgGUlTyraNBkNM3bu0o63zlpsxfdqi dHt2xpvfylSjJm+Kc9MDQn9qOfBhayNaC7DHkK/Q1PKBbJtf83vG1l2aNXfr5v+o q5FJRpuNpP1W3DEyGP1k4EIy1xuxm2I1wFr4TG4/ibzY2KZlTkmBl3f4puL3023Q ktmEF28nk4mcbfoy7XBDxSakqxe9uiIzmRuIFHWHhl55p9DyYGn3cdAH4Uwnu0U6 eC25g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvvdegjeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeetuedvheffkeevgfeuheevteevkefggedttdeufeeuheduuddthfef fffhjeefffenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopeehpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdprhgtphht thhopehhohhrihhkhihothgrrdhnthhtsehgmhgrihhlrdgtohhmpdhrtghpthhtohepth hhohhmrghsrdhmuhhnrhhosehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdq hhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtoh epthhglhesshhsshdrphhghhdrphgrrdhush X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 Nov 2025 12:07:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1763572036; bh=l+XPZ4H2QEafh4yDwpN8pqoosR34yws2dfUA3fHLsow=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=84DaOgh7Pdhv065Jyn/npIFwILik/PydUNUZ+3rC/D3U6rUgeQQQS7ibm5b3QKL7T oZ47hNy9AM+R/l4EgxuSr51Nxb7Ks78iS8Nass92HU1t7Jt8OKMwfOFv4XkMFlUAF2 d7RXtRjwc0TLtB4YAQ26aO9fBM9/cTPa8u+p+z0EHsjLo58gFS5XHFIbyo53YEtugO jXwZzJnfmeP3cnNsSlb6yOstjBbOKn718Wuj7yX2BJtZWN/GQDRV4tFCYp9IvCy1Tu WQXn91kfWo7LYQGBYZ0J6Y3iJwuffGoHsnsX4dh18O+fWD4uGo/MctD49/ZzwMhNRe 6MRwYkweBOWgA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 7E05D76; Wed, 19 Nov 2025 18:07:16 +0100 (CET) Date: Wed, 19 Nov 2025 18:07:16 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Tom Lane Cc: Peter Eisentraut , Thomas Munro , Kyotaro Horiguchi , pgsql-hackers@lists.postgresql.org Subject: Re: PRI?64 vs Visual Studio (2022) Message-ID: <202511191705.fxfewzkxoj27@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1462038.1763567038@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Nov-19, Tom Lane wrote: > Peter Eisentraut writes: > > On 19.11.25 04:15, Tom Lane wrote: > >> I think we should do it > >> honestly with a regression test. It doesn't need to be very > >> complicated --- I think checking one message in one translation is > >> sufficient, so long as it includes a PRI?64 usage. > > > We could generate an English message catalog that translates all > > messages unchanged, and run the whole test suite with that. This would > > exercise the whole gettext run-time machinery. > > ... except that if it were actually doing nothing whatsoever, you > could not tell. You could feed the message catalog a translated string that differs from the original in some simple way, say, by adding a constant prefix "[translated]" or something like that. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/