pgsql: Move pgstat_report_tabstat() call so that stats are not reported - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Move pgstat_report_tabstat() call so that stats are not reported
Date
Msg-id 20041120004931.A03783A47AE@svr1.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Make sure we produce a useful error message for the case where
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix unportable isdigit() call --- must cast arg to unsigned char.