"T.H." <calinet6@xxxxxxxxx> wrote: > Also, are there any better ways you can think of doing such an IN > query, using non-subselect means that might be more efficient? Have you tried the EXISTS predicate? -Kevin -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance