model-writtenrun 6987 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened the thread after an existing NLS regression-test proposal failed on OpenIndiana because Solaris gettext could not find language-only catalog directories; manually adding a full-locale symlink restored translation #1.
- Tom clarified that PostgreSQL was using Solaris libc gettext and that lc_messages required a codeset-qualified locale name even with the catalog symlink installed #5.
- Thomas Munro raised encoding and transcoding concerns, Nico Williams proposed supporting only UTF-8 locales, and Tom limited the immediate goal to verifying translation and PRI* macro support #2 #4 #7 #8.
- Peter Eisentraut asked how country codes would be discovered, and Tom considered enumerating locale -a versus maintaining a fixed list before posting an installation-time symlink patch that passed his OpenIndiana test; it covered make builds but left Meson unresolved #16 #17 #20.
- Further testing showed that Solaris gettext could transcode between LATIN1 and UTF-8, correcting the earlier assumption; Tom nevertheless favored limiting the proposed symlinks to UTF-8 locales and deferring broader support #22.
- Peter questioned whether PostgreSQL should solve a platform-wide packaging problem locally, leading Tom to investigate requiring GNU gettext instead #23 #24.
- Tom found that OpenIndiana's GNU gettext package supplied command-line tools without a replacement runtime library, so he abandoned that route and replaced the symlink proposal with a LANGUAGE mapping inside the NLS test #25.
- At the thread's last message, Tom submitted the complete regression test and reported that it passed on OpenIndiana; the general installation fix was superseded by the narrowly scoped test workaround #25.
- The regression test subsequently landed unchanged apart from rebase metadata as 8c498479d7, incorporating the Solaris workaround from #25 without the installation-time symlinks; this final attachment supersedes the earlier source attributed by thread #52843.