Re: PRI?64 vs Visual Studio (2022) - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: PRI?64 vs Visual Studio (2022)
Date
Msg-id 202511191705.fxfewzkxoj27@alvherre.pgsql
Whole thread Raw
In response to Re: PRI?64 vs Visual Studio (2022)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PRI?64 vs Visual Studio (2022)
Re: PRI?64 vs Visual Studio (2022)
List pgsql-hackers
On 2025-Nov-19, Tom Lane wrote:

> Peter Eisentraut <peter@eisentraut.org> 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/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Use merge-based matching for MCVs in eqjoinsel
Next
From: Dean Rasheed
Date:
Subject: Re: ON CONFLICT DO SELECT (take 3)