]> granicus.if.org Git - postgresql/commit
Make EXPLAIN (BUFFERS) track blocks dirtied, as well as those written.
authorRobert Haas <rhaas@postgresql.org>
Thu, 23 Feb 2012 01:33:05 +0000 (20:33 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 23 Feb 2012 01:33:05 +0000 (20:33 -0500)
commit2254367435fcc4a31cc3b6d8324e33c5c30f265a
tree484dc972b60dd19f03cf15c30869a1566c576848
parentf74f9a277c37b42c570ce01019f815abbec58ba0
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.
12 files changed:
contrib/pg_stat_statements/Makefile
contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql [new file with mode: 0644]
contrib/pg_stat_statements/pg_stat_statements--1.1.sql [new file with mode: 0644]
contrib/pg_stat_statements/pg_stat_statements.c
contrib/pg_stat_statements/pg_stat_statements.control
doc/src/sgml/pgstatstatements.sgml
doc/src/sgml/ref/explain.sgml
src/backend/commands/explain.c
src/backend/executor/instrument.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/localbuf.c
src/include/executor/instrument.h