Hannes Dorbath wrote:> Though it should only have to join a few rows it seems to scan all rows.
What makes you think that's the case?
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com