Bruce Momjian <pgman@candle.pha.pa.us> writes:
> How hard would it be to have the EXISTS be done automatically? The
> performance problem for subqueries has bothered me for two years now.
I think the ideal solution would involve rewriting the subquery into
a single-level query. I haven't looked at how hard this would be...
regards, tom lane