model-writtenrun 8237 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Etsuro Fujita reported that range-partition pruning could build an incorrectly ordered prefix list and trigger an assertion in get_steps_using_prefix(), providing a reproducer and patch in #1.
- The patch in #1 assembles prefix clauses in ascending partition-key order, documents that requirement, and adds a regression query mixing equality and inequality clauses.
- Amit Langote confirmed the diagnosis and reported reviewing and testing the patch without finding unexpected results in #2.
- Etsuro acknowledged Amit's review and announced his intention to commit the patch in #3.
- Etsuro committed #1 as 199cec9779 with only explanatory test comments added and backpatched through PostgreSQL 11; he confirmed completion in #4, and his final timing clarification in #5 left no outstanding work.