Dave, Why not test the windowing version I posted? -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных