model-writtenrun 830 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Chi Zhang reported a reproducible crash involving IS JSON and a user-defined string-category type without a cast to text, despite the thread's IS NULL subject #1.
- Ayush Tiwari traced the crash to unchecked failure of coerce_to_target_type() and submitted a patch preserving the original expression on failure so existing caller checks would reject it, with regression tests for IS JSON and JSON() WITH UNIQUE KEYS #2.
- Srinath Reddy Sadipiralla recommended raising a coercion error directly at the failure point #3; Ayush adopted that behavior in the revised patch #4, which Srinath approved #5.
- Álvaro Herrera committed the revised patch as 60abb3c731, adjusting expression-location handling, adding a non-null assertion, and relocating and trimming the tests, including removing the JSON() test without a stated reason; he announced backpatches through PostgreSQL 16 and explained the defensive assertion #7.
- After the fix landed, ZhangChi asked whether the crash warranted a security classification and CVE #8; Álvaro replied that crashes requiring an authenticated user were not by themselves considered security vulnerabilities, leaving no further patch work proposed in the thread #9.