model-writtenrun 2367 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ivan Kush proposed replacing single-column IN VALUES with an array during grammar processing, supplying a configuration switch and tests on behalf of himself, Vadim Yacenko, and Alexander Simonov in #1.
- Laurenz Albe questioned the use case and planning overhead in #3, while Tom Lane rejected grammar-level rewriting because row lengths and type resolution were not yet validated in #4; Ivan identified generated queries as the motivation in #6.
- Andrei Lepikhov supplied an independent implementation adapted from existing library work in #7, placing conversion beside ANY-sublink join conversion in the planner; Ivan reviewed it favorably, requesting only style cleanup, in #9.
- After a gap, Alena Rybakina resumed development in #10, adding operator compatibility and coercion handling for mismatched expression types.
- Alexander Korotkov questioned restrictions on correlated Vars in #11 and requested a separate shared SAOP-construction refactoring in #12; Alena split the series accordingly in #14, then added Var handling and removed a redundant volatility check in #16 and #17.
- Alexander substantially revised type handling in #18, explaining that operator lookup and new coercion decisions were inappropriate after parse analysis; his replacement preserved the analyzed right-hand expression and added NULL-array support, which Alena accepted in #19.
- Alexander consolidated checks and documentation in #20, removed the subquery restriction, and corrected nesting levels throughout expressions; discussion in #21 and #22 established why deeply nested Vars also required adjustment.
- Alena tested NULL semantics and correlated subqueries in #23, finding a substantial slowdown for a nested case and questioning whether nonconstant conversions should happen later in planning.
- Alexander checked evaluation behavior in #24 and identified the loss of SAOP hashing for nonconstant arrays in #25, restricting conversion to constant results and leaving broader support contingent on future dynamic hashing.
- Alena proposed restoring some nonconstant cases in #26 and supplied an alternative delta in #27, but Alexander demonstrated that it reintroduced the slowdown in #28, and Alena accepted the constant-only restriction in #29.
- Alexander finalized comments and regression coverage, including the distinction between custom and generic prepared plans, in #30; Alena approved the revised series in #31.
- Alexander committed both patches from #30 unchanged: d48d2e2dc8 extracted make_SAOP_expr(), and c0962a113d added the constant-array conversion and its tests.
- Andres Freund reported buildfarm and CI failures caused by unstable system-catalog join plans in #32, noting that the failures had already appeared in cfbot; Tom questioned the necessity of those joins in #33.
- Alena replaced the system catalogs with regression tables in #34, and Tom committed an edited version as 3ba2cdaa45, preserving both join-side checks as explained in #36.
- By the final reply in #39, the feature, helper extraction, and test correction had landed, while nonconstant-array support remained deferred; Tom had proposed removing the two join tests if instability persisted in #36, but no further failure or removal appears in the thread.