gustafn
committed
on 15 Jun 10
- rewrite query, since pg makes sequential scans when the or is used