Jun 2026

1 commit
IS JSON/JSON(): Protect against expressions uncoercible to text
11 Jun 2026Álvaro Herreramaster19beta2REL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #41 of 2 reviewers saw the final version

The commit retains the immediate coercion error from #4, but saves exprLocation before overwriting expr and adds Assert(expr != NULL) in src/backend/nodes/makefuncs.c, as explained in #7. It also relocates the regression tests, removes the JSON() WITH UNIQUE KEYS test, and suppresses DROP TYPE detail output.

  • Srinath Reddy Sadipirallasaw an earlier versiontrailerSrinath proposed the immediate coercion error in #3 and approved #4 in #5, before the committer's local code changes and added assertion described in #7.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Ayush Tiwari1
Reviewer
Alvaro Herreracommitter1
Srinath Reddy Sadipiralla1
Reported by
ZhangChi1
Committer
Alvaro Herrera1