Allow pg_stat_statements to track WAL usage statistics.
Amit Kapila <akapila@postgresql.org>
Allow pg_stat_statements to track WAL usage statistics. This commit adds three new columns in pg_stat_statements output to display WAL usage statistics added by commit df3b181499. This commit doesn't bump the version of pg_stat_statements as the same is done for this release in commit 17e0328224. Author: Kirill Bychik and Julien Rouhaud Reviewed-by: Julien Rouhaud, Fujii Masao, Dilip Kumar and Amit Kapila Discussion: https://postgr.es/m/CAB-hujrP8ZfUkvL5OYETipQwA=e3n7oqHFU=4ZLxWS_Cza3kQQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_stat_statements/expected/pg_stat_statements.out | modified | +39 −0 |
| contrib/pg_stat_statements/pg_stat_statements--1.7--1.8.sql | modified | +4 −1 |
| contrib/pg_stat_statements/pg_stat_statements.c | modified | +52 −3 |
| contrib/pg_stat_statements/sql/pg_stat_statements.sql | modified | +23 −0 |
| doc/src/sgml/pgstatstatements.sgml | modified | +27 −0 |
Documentation touched
Discussion
- WAL usage calculation patch 173 messages · 2020-02-05 → 2020-05-07