model-writtenrun 4282 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis reported that dumping pg_catalog asserted on PostgreSQL 15 and later, and proposed explicit handling of default, ICU, and libc collation providers; he initially omitted a test because these dumps were intended for research and could not be restored #1.
- Michael Paquier found that the patch introduced assertion failures when dumping older servers, explained their different ICU catalog representation, and recommended version-dependent handling while endorsing the provider-based structure #2.
- Jeff revised the patch to handle older catalogs, warn instead of asserting about unexpected catalog contents, substitute empty strings for missing locale values, and test that dumping pg_catalog succeeds; he questioned whether the obscure issue justified backpatching #3.
- Michael checked dumps from servers down to 9.2 and supported backpatching because the regression began in PostgreSQL 15 #4, after which Jeff agreed to commit and backport #5.
- After a delay, Jeff confirmed completion #6: the revised patch #3 landed unchanged on the development branch as 37188cea0c, with 1d9976d1bd carrying the same fix on PostgreSQL 15 with branch-specific adaptation for unavailable ICU rules.
- After landing, Peter Eisentraut challenged substituting empty strings for unexpected null locales and suggested failing, skipping the collation, or omitting the affected assignments #7; Jeff defended warning and noted that omitting one required locale assignment would produce an unrestorable command, leaving this concern unresolved with no further patch shown #8.