While working on 4c2369ac5, I noticed there's close to as much code to disallow BooleanTests in the form of "IS UNKNOWN" and "IS NOT UNKNOWN" in partition pruning as it would take to allow pruning to work for these. The attached makes it work. David
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных