| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Let's add a test for NLS translation of PRI* macros |
| Date: | 2025-12-08 19:23:16 |
| Message-ID: | 3098752.1765221796@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
This was discussed a few weeks ago in [1], but I'm starting a
new thread so as not to confuse things with the latest patches in
that thread. The issue is that it seems like it'd be a good idea to
have specific regression testing of whether translation of the
<inttypes.h> PRI* macros works properly, since that is an aspect
of gettext() behavior that didn't use to work everywhere.
I don't know whether the attached will pass on Windows: we might
not be able to assume that "es_ES" is the right LC_MESSAGES
setting to use. But it works for me on Linux.
regards, tom lane
| Attachment | Content-Type | Size |
|---|---|---|
| v3-0001-Add-a-regression-test-to-verify-that-NLS-translat.patch | text/x-diff | 12.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2025-12-08 19:24:56 | Re: vacuumdb: add --dry-run |
| Previous Message | Sami Imseih | 2025-12-08 19:16:28 | Re: Add wait event for CommitDelay |