The root cause is even ExecQual(winstate->runcondition, econtext) return false, westill return the slot to the upper node. A simple hack can avoid it.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных