pgsql: Adjust timing units in pg_stat_statements.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust timing units in pg_stat_statements.
Date: 2012-04-28 20:04:09
Message-ID: E1SODsH-0008EU-4C@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-04-29 17:25:17 pgsql: Make a copy-editing pass over the new documentation for statisti
Previous Message Tom Lane 2012-04-28 19:11:37 pgsql: Clear I/O timing counters after sending them to the stats collec