pgsql: Move pgstat_report_tabstat() call so that stats are not reported

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move pgstat_report_tabstat() call so that stats are not reported
Date: 2004-11-20 00:49:31
Message-ID: 20041120004931.A03783A47AE@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-20 02:09:50 pgsql: Fix unportable isdigit() call --- must cast arg to unsigned char.
Previous Message Tom Lane 2004-11-20 00:35:23 pgsql: Make sure we produce a useful error message for the case where