model-writtenrun 9548 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Daniel Verite reported that catalog columns using C collation caused locale-sensitive patterns in pg_dump and psql to miss accented object names, and proposed explicitly selecting the database's default collation #1.
- Tom Lane found that explicit collation did not prevent prefix index optimization and recommended attaching COLLATE to pattern constants for compatibility, while questioning whether client tools should mask the changed SQL behavior #2.
- Daniel Verite argued that the tools should preserve their previous behavior and submitted a patch adding explicit collation clauses in processSQLNamePattern() #3; he subsequently illustrated the regression with an accented table name and explained its scope across psql and pg_dump #6.
- Tom Lane favored including the fix in PostgreSQL 12 to avoid introducing a temporary behavior change, but identified that unconditional COLLATE clauses would break pre-9.1 servers #5; Daniel's revised patch restricted them to servers running version 12 or later #7.
- Tom Lane committed the revised patch as 478cacb50e, expanding the comments and schema-qualifying the collation names, and announced those adjustments in #8.
- The thread ended with Daniel Verite thanking Tom Lane after the fix landed, with no further patch work outstanding #9.