Andrzej, Please post a table & index schema, and an EXPLAIN ANALYZE rather than just an EXPLAIN. Thanks! -- Josh Berkus PostgreSQL Experts Inc. www.pgexperts.com -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance