Move pgstat_report_tabstat() call so that stats are not reported to the
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Nov 2004 00:48:58 +0000 (00:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Nov 2004 00:48:58 +0000 (00:48 +0000)
commit8a7025f0bb9a9ad15c6dc27979a3c9f4116bca2a
tree6999fa315fa493b13416a4c40d64dfa9f9948aa4
parente719591ea31a5ebd85a3aefcf2306e7f69345331
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.
src/backend/tcop/postgres.c