Log Message:
-----------
Move pgstat_report_tabstat() call so that stats are not reported to the
collector until the transaction commits. Per recent discussion, this
should avoid confusing autovacuum when an updating transaction runs for
a long time.
Modified Files:
--------------
pgsql/src/backend/tcop:
postgres.c (r1.437 -> r1.438)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.437&r2=1.438)