Hi,
This patch seems like quite a good improvement. One thing I've not really looked at but am slightly concerned in passing: Are there cases where we now would do a lot of predicate pruning work even though the overhead of just evaluating the qual is trivial, e.g. because there's only one row due to a pkey? The predtest code is many things but lightning fast is not one of them. Obviously that won't matter for analytics queries, but I could see it hurt in OLTPish workloads... Greetings, Andres Freund