model-writtenrun 2514 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro proposed replacing long-long casts and format specifiers with standard PRI*64 macros, explaining their gettext support, and supplied three additional pgbench integer-handling cleanups in #1.
- Melanie Plageman supported the conversion and asked about cross-platform format warnings in #2; Thomas explained why off_t still needed special handling in #3, while Alvaro Herrera suggested msgfilter for updating translation catalogs in #4.
- Peter Eisentraut reported committing only the pg_checksums portion as a small-scale trial for translators in #5, after which Thomas submitted the rebased remainder and an additional proposal to display LSNs as sixteen hexadecimal digits without a slash in #6.
- Thomas also identified unresolved pgoff_t, Datum and i64abs() type mismatches in #6; Tom Lane warned that changing LSN syntax could break external replication tools in #7, and Peter recommended PRIxPTR for Datum in #8.
- Peter's detailed review in #9 questioned arithmetic and signedness changes, unnecessary replacement of long-long counters, and assumptions about off_t; he accepted the random-seed and integer-parser pgbench patches, questioned the script-weight change, and advised against pursuing the LSN change for that release.
- Thomas proposed standardizing pgoff_t and preprocessing custom format macros in #10, but Peter recommended retaining long-long casts and %lld for file offsets in #11, which Thomas accepted while dropping the preprocessing idea in #14.
- Tom questioned runtime gettext portability in #12; Thomas demonstrated successful Solaris and NetBSD translations in #13 and #15, after which Tom accepted the evidence while retaining a broader concern about missing NLS tests in #16.
- Peter implemented the separately discussed i64abs() prerequisite as 2247281c47, casting labs() and llabs() results back to int64 to prevent PRId64 mismatches, and announced it in #17.
- Peter reported committing the main format conversion from #6 with the disputed portions omitted, plus the pgbench random-seed patch, and considered the thread concluded in #18; the script-weight, integer-parser and LSN-format patches were not reported as committed.
- Thomas acknowledged the landing and hoped translation updates would proceed smoothly in #19, but reopened the portability discussion months later after discovering Alpine's musl-libintl and gettext-tiny implementation, whose macro coverage and compatibility he questioned in #20.
- At the thread's end, Wolfgang Walther reported that Alpine buildfarm NLS builds used gettext-tiny-dev and that switching to GNU gettext-dev failed with unresolved libintl_gettext symbols in #21, leaving that configuration and its format-macro compatibility unresolved.