model-writtenrun 8517 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Dewei Dai proposed rejecting duplicate SQL/JSON PASSING variable names during parse analysis because PostgreSQL silently used the first matching value; the shared check covered all four affected constructs, with initial tests for JSON_QUERY and JSON_TABLE #1.
- Chao Li supported explicit rejection and requested checking names before expression transformation, modernizing the error-reporting syntax, documenting the uniqueness requirement, and covering JSON_EXISTS and JSON_VALUE in tests and the commit description #2.
- Dewei Dai submitted a revised patch implementing all five review requests while retaining the original duplicate-name detection approach #3.
- Chao Li reviewed the revised patch and said it looked good #4.
- Dewei Dai registered the patch in the current CommitFest #5, and Chao Li marked it ready for committer #6; the thread ends awaiting committer action, with no linked commit.