Peter Eisentraut <peter_e(at)gmx(dot)net> writes:> vikas wrote:>> PostgreSQL version: PostgreSQL 7.3
> Time to upgrade.
Indeed. 7.4 was the first release that had even an inkling of how tooptimize IN (sub-SELECT) clauses.
regards, tom lane