Robert Haas <robertmhaas(at)gmail(dot)com> writes:> Well, there's clearly some way to prevent pushdown from happening,> because sticking a LIMIT in there does the trick...
I already pointed you at subquery_is_pushdown_safe ...
regards, tom lane