postgresql/src/test
Tom Lane 809e7e21af Converge all SQL-level statistics timing values to float8 milliseconds.
This patch adjusts the core statistics views to match the decision already
taken for pg_stat_statements, that values representing elapsed time should
be represented as float8 and measured in milliseconds.  By using float8,
we are no longer tied to a specific maximum precision of timing data.
(Internally, it's still microseconds, but we could now change that without
needing changes at the SQL level.)

The columns affected are
pg_stat_bgwriter.checkpoint_write_time
pg_stat_bgwriter.checkpoint_sync_time
pg_stat_database.blk_read_time
pg_stat_database.blk_write_time
pg_stat_user_functions.total_time
pg_stat_user_functions.self_time
pg_stat_xact_user_functions.total_time
pg_stat_xact_user_functions.self_time

The first four of these are new in 9.2, so there is no compatibility issue
from changing them.  The others require a release note comment that they
are now double precision (and can show a fractional part) rather than
bigint as before; also their underlying statistics functions now match
the column definitions, instead of returning bigint microseconds.
2012-04-30 14:03:33 -04:00
..
examples Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
isolation Re-add "make check" target in src/test/isolation/Makefile 2012-03-02 22:11:57 +02:00
locale Consistently quote encoding and locale names in messages 2012-04-13 20:37:07 +03:00
mb Lots of doc corrections. 2012-04-23 22:43:09 -04:00
performance Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
regress Converge all SQL-level statistics timing values to float8 milliseconds. 2012-04-30 14:03:33 -04:00
thread Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Makefile Add isolation test to check-world and installcheck-world 2012-03-05 20:19:20 +02:00