model-writtenrun 1612 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Kyotaro Horiguchi opened the thread by questioning whether Visual Studio's PRId64 expansion would match gettext catalogs, and Peter Eisentraut explained that gettext converts the portable placeholders to platform-specific formats #1 #2.
- After several months, Thomas Munro confirmed that supported Windows runtimes use standard format strings and proposed removing both the obsolete %I64 parser and an exponent-formatting workaround, while identifying missing Windows NLS test coverage #3.
- Thomas Munro suggested checking gettext during configuration, but Tom Lane argued for a runtime regression test because the deployed library can differ from the build-time library #5 #6.
- Peter Eisentraut proposed running the suite through an unchanged-English catalog, but Tom Lane pointed out that silent translation failure would look successful; Alvaro Herrera suggested visibly marking translated strings, and Jacob Champion described supporting gettext tools #7 #9 #10 #11.
- Thomas Munro proposed a focused test covering the PRI macros because Alpine's gettext implementation appeared incomplete, and Tom Lane agreed that failure to translate must remain distinguishable from success #12 #13 #14.
- Following Peter Eisentraut's approval, Thomas Munro committed both original snprintf.c cleanup patches unchanged as 7ab9b34614 and 6b46669883 #8 #3.
- Tom Lane replaced the whole-suite catalog experiment with a focused Spanish translation test, then gave regress.so its own translation domain and catalog to keep the test self-contained and exercise TEXTDOMAIN handling #15 #17.
- Nazir Bilal Yavuz reported successful NLS enablement in experimental Windows CI images using winpgbuild dependencies, although three unrelated tests failed and the infrastructure changes still needed follow-through #18.
- Thomas Munro separately proposed removing obsolete MinGW and Cygwin strtof workarounds, then added removal of resultmap at Tom Lane's suggestion; Peter Eisentraut endorsed the series while suggesting time for a manual Cygwin check, and the supplied record contains no landing confirmation for this series #19 #20 #21 #22.
- By December, the expanded NLS regression test had landed and exposed that both Alpine buildfarm members translated only two PRI variants; Thomas Munro contacted gettext-tiny upstream about fixing the implementation #23 #24.
- Tom Lane considered accepting Alpine's defective output and proposed testing PRI formatting even without translation, while noting that fewer than half the buildfarm machines had an appropriate Spanish locale installed #25.
- Bryan Green investigated gettext's locale handling, and Tom Lane's experiments suggested that C.UTF-8 could activate a synthetic C catalog; this unattached redesign landed as 7db6809ced, also enabling formatting checks in non-NLS builds #26 #27 #28 #29 #32.
- Peter Eisentraut and Thomas Munro argued that Alpine's incomplete gettext implementation should instead run with NLS disabled, Tom Lane abandoned the permissive expected-output workaround, and Wolfgang Walther disabled NLS on both Alpine animals #30 #31 #32 #34.
- New buildfarm failures exposed that newer gettext implementations also suppress translation for C.<encoding>; Bryan Green identified that condition, Tom Lane reproduced the failure and rejected POSIX.UTF-8 as an alternative, then reverted the C-catalog experiment #33 #36 #37 #38.
- Tom Lane salvaged the independent formatting checks in 462e247652, retaining Spanish-based translation testing while always exercising PRI macros and using stronger values to detect width mismatches, as proposed in #25.
- Thomas Munro subsequently confirmed that an upstream gettext-tiny fix passed the test, and the thread's final message reported that the fix had reached Alpine and NLS was enabled again on both animals #39 #40 #41.
- After the supplied thread ended, an off-list installcheck failure reported by Álvaro Herrera and diagnosed by Andrew Dunstan led Tom Lane to unset LANGUAGE on non-Solaris systems in 5ed9cee74c, applying the override hazard and remedy Bryan Green had described in #35.