Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group