model-writtenrun 5486 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut reported that JSON_TABLE assigned the default collation to collatable output columns, preventing domains with attached collations from working correctly #1.
- Peter proposed using get_typcollation(typid) directly in src/backend/parser/parse_jsontable.c to preserve each output type's collation #1.
- The attachment included an ICU-collated domain and ordering changes in the regression SQL, explicitly marked as a demonstration #1.
- Andrew Dunstan reviewed the proposal and said it looked reasonable, with no requested changes or unresolved objections in the final thread message #2.
- Peter subsequently committed the parser fix unchanged as 2172455865, crediting Andrew's review and omitting the demonstration test from #1; the proposed functional fix landed.