pgsql: Adjust timing units in pg_stat_statements. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Adjust timing units in pg_stat_statements.
Date
Msg-id E1SODsH-0008EU-4C@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Adjust timing units in pg_stat_statements.

Display total time and I/O timings in milliseconds, for consistency with
the units used for timings in the core statistics views.  The columns
remain of float8 type, so that sub-msec precision is available.  (At some
point we will probably want to convert the core views to use float8 type
for the same reason, but this patch does not touch that issue.)

This is a release-note-requiring change in the meaning of the total_time
column.  The I/O timing columns are new as of 9.2, so there is no
compatibility impact from redefining them.

Do some minor copy-editing in the documentation, too.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/93f94e356d47ea20ca7c2fcb65cbb746049fe4d1

Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c |   16 +++++-----
doc/src/sgml/pgstatstatements.sgml              |   34 +++++++++++-----------
2 files changed, 25 insertions(+), 25 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Clear I/O timing counters after sending them to the stats collec
Next
From: Tom Lane
Date:
Subject: pgsql: Make a copy-editing pass over the new documentation for statisti