"=?UTF-8?Q?Grzegorz_Ja=C5=9Bkiewicz?=" <gryzman@xxxxxxxxx> writes: > that's 20s query, and now I got it down to 10s , by using something - which > in my eyes would be always wrong - and against all logic. So if someone > could please explain to me why is it faster: [ shrug... ] If you aren't going to show us EXPLAIN ANALYZE output, we're even more in the dark than you are. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general