May 2026

2 commits
Enforce RETURNING typmod for empty-set JSON_ARRAY(query)
8 May 2026Richard Guomaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch0 of 1 reviewer saw the final version

Ayush Tiwari reported the missing RETURNING typmod enforcement in #28, and Richard Guo announced the fix in #29 without attaching a patch. The commit passes exprTypmod(exec_expr) to makeConst and OidInputFunctionCall in src/backend/parser/parse_expr.c and adds varchar regression cases.

  • Ayush Tiwarisaw an earlier versionLLM analysis, 90% sureIn #28, he reproduced and diagnosed the typmod defect in the landed version of #12; coverage is earlier relative to the thread's last patchset, #31, which substantially reworks coercion.
Fix JSON_ARRAY(query) empty set handling and view deparsing
1 May 2026Richard Guomaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #121 of 1 reviewer saw the final version

The executable changes and regression tests match #12; the commit additionally bumps src/include/catalog/catversion.h and expands JsonConstructorExpr comments in src/include/nodes/primnodes.h following #19.

  • Amit Langotesaw the final versiontrailerHe endorsed the approach and reviewed field documentation in #14 and #19, with only comment changes and a catalog-version bump following.

Credits across 2 commits

Author
Richard Guo2
Reviewer
Amit Langote1
Reported by
Ayush Tiwari1
Lukas Eder1
Committer
Richard Guo2