Andrzej,
Please post a table & index schema, and an EXPLAIN ANALYZE rather thanjust an EXPLAIN. Thanks!
-- Josh BerkusPostgreSQL Experts Inc.www.pgexperts.com