pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_stat_statements: track number of rows processed by some utili
Date: Wed, 29 Jul 2020 14:23:18 +0000
Message-ID: <E1k0mzG-0002Vn-2W@gemulon.postgresql.org> (raw)

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



view thread (3+ messages)  latest in thread

Message-ID: <E1k0mzG-0002Vn-2W@gemulon.postgresql.org>
Permalink:  ../E1k0mzG-0002Vn-2W@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1k0mzG-0002Vn-2W@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: pg_stat_statements: track number of rows processed by some utili
  In-Reply-To: <E1k0mzG-0002Vn-2W@gemulon.postgresql.org>
  References: <E1k0mzG-0002Vn-2W@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox