model-writtenrun 9662 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Etsuro Fujita reported that grouping_planner checked the grouping target instead of the scan/join target for parallel safety, preventing safe expressions from being evaluated in parallel workers, and supplied a one-line fix in #1.
- Robert Haas endorsed the patch in #3, and Tom Lane supported committing and backpatching it while questioning the value of a regression test for such a narrow bug in #5.
- Etsuro Fujita demonstrated that the fix moved expression evaluation into parallel workers, agreed that a regression test was unnecessary, and questioned backpatching because it could change existing plan choices in #6.
- Tom Lane questioned whether the bug could also cause incorrect results in #7; Etsuro Fujita explained the relationship between the targets in #8 and clarified that he meant the scan/join target in #10, after which Tom accepted that only plan quality was affected in #11.
- Tom Lane argued for backpatching to v11 because the example already produced the desired plan in v10, making this a regression worth fixing despite possible plan changes, in #11.
- Etsuro Fujita committed #1 unchanged as b5afdde6a7 and confirmed its landing on HEAD and v11 in #12, completing the thread without an added regression test.