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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Count buffers dirtied due to hints in pgBufferUsage.shared_blks_
Date: 2014-03-31 17:37:13
Message-ID: E1WUg93-0007LB-Aj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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_3_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-03-31 18:19:38 pgsql: test_decoding: Update .gitignore
Previous Message Robert Haas 2014-03-31 17:03:41 pgsql: Fix thinko in logical decoding code.