model-writtenrun 9677 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened #1 after investigating a complaint about proving IS NOT NULL partial-index predicates, proposing that the planner recognize CoerceViaIO as strict independently of its underlying I/O functions.
- While implementing that improvement, Tom Lane discovered that ArrayCoerceExpr recursion skipped checking its immediate argument, and demonstrated incorrect inlining of a STRICT SQL function in #1.
- The combined patch in #1 addressed both issues; Tom Lane recommended back-patching the recursion fix and asked whether the CoerceViaIO improvements also warranted back-patching, with no replies present in the supplied thread.
- 1571bc0f06 landed the recursion fix unchanged from #1 and was back-patched to PostgreSQL 11; its commit message explains that a regression test was omitted because the narrow bug required a fragile, behavior-dependent example.
- e04a3905e4 landed the remaining improvements from #1, extending predicate strictness recognition to three additional coercion types; it was not back-patched because the committer considered it an improvement rather than a bug fix, completing the submitted work.