Add buffer access counters to pg_stat_statements.
Itagaki Takahiro <itagaki.takahiro@gmail.com>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_stat_statements/pg_stat_statements.c | modified | +66 −26 |
| contrib/pg_stat_statements/pg_stat_statements.sql.in | modified | +10 −2 |
| doc/src/sgml/pgstatstatements.sgml | modified | +93 −27 |