pgsql: Clear I/O timing counters after sending them to the stats collec - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Clear I/O timing counters after sending them to the stats collec
Date
Msg-id E1SOD3R-0007V2-Ue@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Clear I/O timing counters after sending them to the stats collector.

This oversight caused the reported times to accumulate in an O(N^2)
fashion the longer a backend runs.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cdbad241f41362aaf09f913722a541e04e048742

Modified Files
--------------
src/backend/postmaster/pgstat.c |    6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: PL/Python: Update list of supported environment variables
Next
From: Tom Lane
Date:
Subject: pgsql: Adjust timing units in pg_stat_statements.