model-writtenrun 1189 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- jian he proposed allowing IS JSON to accept domains over json, jsonb, text, and bytea, resolving their base types during parsing and caching the type for execution; previously rejected NULL domain inputs would then return NULL #1.
- Tom Lane recommended resolving the base type directly in transformJsonParseArg #2, and jian adopted that simplification while adding parser error positions and regression coverage for unsupported domains and view deparsing #3.
- After a gap of more than three months, jian reduced repetitive regression tests and simplified the executor to use the cached base type directly #4.
- Andrew Dunstan supplied a revised patch that renamed the cached field to exprBaseType, made errors identify the original domain, and further reduced tests while cleaning up their objects #5.
- Kirill Reshke approved Andrew's revision and suggested retaining a local exprtype variable initialized from the cached field #6; Andrew accepted that cleanup #7.
- Andrew committed #5 with Kirill's small executor cleanup as 3b4c2b9db2, crediting jian as author, and closed the thread by confirming the commit with no remaining work identified #8.