Bruce Momjian wrote:
>
> > BTW, I broke execution of right-sided plans ~ 1 year ago
> > while implementing subqueries (near materialization node)
> > and still have no time to fix it (seems no one except me
> > used them so I didn't worry about this -:)).
>
> This explaination helps greatly. This clears up what is happening in
> the code. I will keep the bushy stuff, and see if I can get it working,
> though if the problem is outside of the optimizer, I will have trouble.
^^^^^^^^^^^^^^^^^^^^^^^^
I'll help with executor if you'll fix bushy plans generation.
Vadim