model-writtenrun 5390 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Kyotaro Horiguchi reported that update-po failed because pg_upgrade's translation list still named relfilenode.c, and supplied both a filename correction and a broader wildcard alternative to prevent recurring maintenance omissions #1.
- Tom Lane supported automatic local source discovery but left cross-directory references explicit because wildcarding src/common would add translations for modules each frontend did not use #2.
- Tom Lane rebuilt the wildcard patch against changed surrounding code and extended it to single-source directories, landing 617d691412 from #1 with those additions #3.
- Alvaro Herrera then reported an xgettext failure with no input files, prompting Tom Lane to identify a likely VPATH problem and suggest searching srcdir #4 #5.
- Peter Eisentraut identified missing dependencies for generated sources, reported differences in five translation catalogs, and warned that source-directory paths must not leak into catalog references; Tom Lane proposed explicitly listing generated files #6 #7 #8 #9.
- Tom Lane announced the wildcard change's reversion because these problems needed resolution, then landed the original standalone filename correction from #1 as a5f9f1b885 #10.
- Tom Lane posted a revised wildcard patch using srcdir-aware expansion with notdir, explicit generated-file entries, and sort-based deduplication before invoking xgettext #12.
- Alvaro Herrera tested the revised patch, found no lost translation messages, and endorsed it; Tom Lane considered accidental inclusion of stray C files the remaining concern and argued that reduced maintenance justified that risk #13 #14.
- The final exchange clarified that the NLS website runs the translation recipe automatically and would discard stray messages during later catalog merges; the filename fix was landed, while the revised wildcard proposal had no second landing recorded in this thread #15 #16 #17.