model-writtenrun 2093 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened #1 after Peter Eisentraut reported elsewhere that ACL parsing interpreted two double quotes as a single quote instead of an empty name.
- While investigating, Tom identified locale-, encoding-, and platform-dependent handling of non-ASCII role names that could cause dump/reload failures, and included a fix in #1.
- The patch in #1 treated non-ASCII bytes as safe without quoting on both input and output; Tom preferred this over universally requiring quotes because of compatibility with existing dumps.
- 093d3d7457 adopted the patch with an asymmetric compatibility rule: accept unquoted non-ASCII input but always quote non-ASCII output, while retaining the empty-name parsing fix and adding regression tests.
- The supplied thread ends with Tom's proposal in #1, with no review replies; 093d3d7457 subsequently landed both fixes and called for backpatching through PostgreSQL 13.