]> granicus.if.org Git - postgresql/commit
Add buffer access counters to pg_stat_statements.
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Fri, 8 Jan 2010 00:38:20 +0000 (00:38 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Fri, 8 Jan 2010 00:38:20 +0000 (00:38 +0000)
commit8964dbd51e4e3e7ea179f85b46ce52715383d869
treedfaa08c71a1384f0b9648cd2616415ff9b1c3dcf
parentb1ee6daf2f101613c30ff26c705e3a5797af4407
Add buffer access counters to pg_stat_statements.

This uses the same infrastructure with EXPLAIN BUFFERS to support
{shared|local}_blks_{hit|read|written} andtemp_blks_{read|written}
columns in the pg_stat_statements view. The dumped file format
also updated.

Thanks to Robert Haas for the review.
contrib/pg_stat_statements/pg_stat_statements.c
contrib/pg_stat_statements/pg_stat_statements.sql.in
doc/src/sgml/pgstatstatements.sgml