]> granicus.if.org Git - postgresql/commit
Clear I/O timing counters after sending them to the stats collector.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 28 Apr 2012 19:11:13 +0000 (15:11 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 28 Apr 2012 19:11:13 +0000 (15:11 -0400)
commitcdbad241f41362aaf09f913722a541e04e048742
tree5c448d2d1fc7217850c0426b115d1eb69a22817f
parent05dd9fb18d6572f1467f995085b1de324d0ad028
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.
src/backend/postmaster/pgstat.c