model-writtenrun 4578 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Robins Tharakan submitted #2 to fix an assertion triggered by redundant ORDER BY keys in postgres_fdw set-operation inputs, also allowing LIMIT pushdown when no final sort was needed; he reported successful tests and applicability through PostgreSQL 17.
- David Rowley rewrote the change as two patches in #3: an assertion-only correction suitable for backpatching without changing existing plans, followed by a simpler empty-sort-pathkeys check enabling LIMIT pushdown on master.
- Because the original bug report was missing from the archive, Robins reproduced its diagnosis and testing details in #4, explaining that assertion builds failed while release builds returned correct rows and could unnecessarily keep LIMIT processing local.
- Robins endorsed preserving stable-branch plans and tested the revised series in #5, reporting success for the assertion fix on branches 17 through 19 and for both patches together on master.
- Robins reported apparent mailing-list delivery problems in #6 after repeated attempts to publish the original bug report.
- David announced completion in #7: 52b41da0be landed the first patch from #3 with backports through PostgreSQL 17, and b6178c942e landed the second patch on master; both retained the submitted code and tests with revised commit descriptions.
- Alvaro Herrera explained in #8 that human moderation caused the archive delay and that the messages were now approved; Robins accepted the explanation in #9, closing the thread with both fixes landed and no outstanding patch work.