"Greg Sabino Mullane" <greg(at)turnstep(dot)com> writes:
> Why is the subselect never executed for the inner select?
Fixed. I'm kinda surprised that code ever worked; it was trying to run
a sub-plan before the rest of the executor was set up.
regards, tom lane