As per http://osdir.com/ml/pgsql-hackers/2010-03/msg00331.html, I would certainly find it helpful is count(distinct(myfield)) wasn't a full index scan. Gregg Lind
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных