JM <jerome(at)gmanmi(dot)tv> writes:> PG Version 7.3.4
Avoid the "IN (subselect)" construct then. 7.4 is the first releasethat can optimize that in any real sense.
regards, tom lane