model-writtenrun 9297 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Rares Salcudean reported ineffective pruning with two boolean keys and a date key in #1; David Rowley explained that range pruning needs predicates matching the key prefix and suggested subpartitioning in #2.
- Rares showed that supplying both boolean predicates still failed in #3; after David supplied a working simpler example in #4, Rares provided a reproducer with recent, deleted, and yearly partitions on PostgreSQL 11.4 in #5.
- David identified in #6 that a boolean clause failing to match the first key was incorrectly marked unsupported, preventing attempts against later keys; Amit Langote agreed that an unmatched status was needed in #7.
- David posted #8, changing match_boolean_partition_clause() to return PartClauseMatchStatus and adding a regression test that requires pruning across two boolean keys and an integer key.
- Rares asked how to obtain the fix in #9; David described patching and building after commitment in #10, and Michael Paquier clarified in #11 that the next minor release was planned for early August.
- Amit reviewed the return-type change in #12, and David committed cfde234939 from #8 with comment-only edits and backpatches through PostgreSQL 11, announcing the push in #13.
- The thread ended with Amit's acknowledgment in #14, with the fix committed and no outstanding patch revisions.