Easy two step procedure for speeding this up: 1: Upgrade to 7.4.1 2: Read this: http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных