pgsql: pg_stat_statements: Add local_blk_{read|write}_time - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: pg_stat_statements: Add local_blk_{read|write}_time
Date
Msg-id E1qtLHp-001HA7-Ln@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
pg_stat_statements: Add local_blk_{read|write}_time

This commit adds to pg_stat_statements the two new fields for local
buffers introduced by 295c36c0c1fa, adding the time spent to read and
write these blocks.  These are similar to what is done for temp and
shared blocks.  This information available only if track_io_timing is
enabled.

Like for 5a3423ad8ee17, no version bump is required in the module.

Author: Nazir Bilal Yavuz
Reviewed-by: Robert Haas, Melanie Plageman
Discussion: https://postgr.es/m/CAN55FZ19Ss279mZuqGbuUNxka0iPbLgYuOQXqAKewrjNrp27VA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5147ab1dd34ad81c169c85fa3c7d11a782a1555b

Modified Files
--------------
.../pg_stat_statements/expected/oldextversions.out   |  2 ++
.../pg_stat_statements--1.10--1.11.sql               |  2 ++
contrib/pg_stat_statements/pg_stat_statements.c      | 15 +++++++++++++--
doc/src/sgml/pgstatstatements.sgml                   | 20 ++++++++++++++++++++
4 files changed, 37 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add local_blk_{read|write}_time I/O timing statistics for local
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Remove duplicate name from list of acknowledgments