Обсуждение: pgsql: Clear I/O timing counters after sending them to the stats collec

Поиск
Список
Период
Сортировка

pgsql: Clear I/O timing counters after sending them to the stats collec

От
Tom Lane
Дата:
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(-)