"Benjamin Reed" <ranger@opennms.org> writes:
> I've hit a regression vs. PostgreSQL 8.2 and 8.3 (and probably others)
> related to subselects. This query:
It's not going to be possible to examine this with just the query.
You need to provide a self-contained test case.
regards, tom lane