QUERY PLAN -------------------------------------------------------------------------------------------------------------------- Sort (cost=11.79..11.79 rows=1 width=642) Sort Key: selection.logtime -> Limit (cost=11.76..11.77 rows=1 width=642) -> Sort (cost=11.76..11.77 rows=1 width=642) Sort Key: tbl_loglines.logtime -> Seq Scan on tbl_loglines (cost=0.00..11.75 rows=1 width=642) Filter: (((reciever)::text = '#lentilwars'::text) AND ((logtime)::date >= '2006-08-23'::date)) (7 riadkov)