pgsql: pg_stat_statements: track number of rows processed by some utili

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_stat_statements: track number of rows processed by some utili
Date: 2020-07-29 14:23:18
Message-ID: E1k0mzG-0002Vn-2W@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2020-07-29 21:15:17 pgsql: Add hash_mem_multiplier GUC.
Previous Message Fujii Masao 2020-07-29 12:25:26 pgsql: Remove non-fast promotion.