just create index on both columns:
CREATE INDEX foo_i ON foo(bar1, bar2);

HTH

-- 
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

Reply via email to