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.
Showing
Please register or sign in to comment