Обсуждение: pgsql: Count buffers dirtied due to hints in pgBufferUsage.shared_blks_

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

pgsql: Count buffers dirtied due to hints in pgBufferUsage.shared_blks_

От
Robert Haas
Дата:
Count buffers dirtied due to hints in pgBufferUsage.shared_blks_dirtied.

Previously, such buffers weren't counted, with the possible result that
EXPLAIN (BUFFERS) and pg_stat_statements would understate the true
number of blocks dirtied by an SQL statement.

Back-patch to 9.2, where this counter was introduced.

Amit Kapila

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6a63dda4c2a0bf06b8da28d15baae1a08e2e8fd5

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c |    1 +
1 file changed, 1 insertion(+)