pgsql: Make EXPLAIN (BUFFERS) track blocks dirtied, as well as those wr

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make EXPLAIN (BUFFERS) track blocks dirtied, as well as those wr
Date: 2012-02-23 01:35:21
Message-ID: E1S0Nab-0006D7-1q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make EXPLAIN (BUFFERS) track blocks dirtied, as well as those written.

Also expose the new counters through pg_stat_statements.

Patch by me. Review by Fujii Masao and Greg Smith.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2254367435fcc4a31cc3b6d8324e33c5c30f265a

Modified Files
--------------
contrib/pg_stat_statements/Makefile | 3 +-
.../pg_stat_statements--1.0--1.1.sql | 40 +++++++++++++++++++
.../pg_stat_statements/pg_stat_statements--1.1.sql | 41 ++++++++++++++++++++
contrib/pg_stat_statements/pg_stat_statements.c | 21 +++++++++-
.../pg_stat_statements/pg_stat_statements.control | 2 +-
doc/src/sgml/pgstatstatements.sgml | 14 +++++++
doc/src/sgml/ref/explain.sgml | 12 ++++-
src/backend/commands/explain.c | 16 ++++++-
src/backend/executor/instrument.c | 2 +
src/backend/storage/buffer/bufmgr.c | 1 +
src/backend/storage/buffer/localbuf.c | 4 ++
src/include/executor/instrument.h | 2 +
12 files changed, 148 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-02-23 01:38:07 pgsql: Don't install hstore--1.0.sql any more.
Previous Message Robert Haas 2012-02-23 00:48:38 pgsql: Fix typo in comment.