Matthew:
Please post your PostgreSQL version, and the actual explain output ofboth queries. If you are using Postgres < 7.1.2,
I'llwarn you thatthe advice you get is likely to be "upgrade!"
-Josh
______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete
informationtechnology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small
businesses fax 621-2533 and non-profit organizations. San Francisco