model-writtenrun 983 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis proposed guarding against an uninitialized default locale in #1, explaining that an extension calling pg_newlocale_from_collation(DEFAULT_COLLATION_OID) from _PG_init() could otherwise encounter a NULL pointer dereference.
- Jeff supplied development-branch and PostgreSQL 17 variants in #1 and proposed backpatching through PostgreSQL 17.
- Jeff announced his intention to commit and backpatch the change in #2.
- Ayush Tiwari approved the patch in #3, confirmed the PostgreSQL 17 sentinel and guarded consumers, and suggested a more explanatory initialization comment.
- Jeff subsequently committed 1c77203c15, adding an error when the default locale is NULL and an explanatory comment consistent with Ayush's suggestion; the supplied metadata records backports through PostgreSQL 17, although missing attachments prevent exact comparison with #1.