pg_stat_statements: track number of rows processed by some utility commands.
This commit makes pg_stat_statements track the total number
of rows retrieved or affected by CREATE TABLE AS, SELECT INTO,
CREATE MATERIALIZED VIEW and FETCH commands.
Suggested-by: Pascal Legrand
Author: Fujii Masao
Reviewed-by: Asif Rehman
Discussion: https://postgr.es/m/1584293755198-0.post@n3.nabble.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6023b7ea717ca04cf1bd53709d9c862db07eaefb
Modified Files
--------------
.../expected/pg_stat_statements.out | 66 ++++++++++++++++++++++
contrib/pg_stat_statements/pg_stat_statements.c | 10 +++-
.../pg_stat_statements/sql/pg_stat_statements.sql | 27 +++++++++
3 files changed, 102 insertions(+), 1 deletion(-)