Andres Freund
8cadeb792c
Correctly handle test durations of more than 2147s in pg_test_timing.
...
Previously the computation of the total test duration, measured in
microseconds, accidentally overflowed due to accidentally using signed
32bit arithmetic. As the only consequence is that pg_test_timing
invocations with such, overly large, durations never finished the
practical consequences of this bug are minor.
Pointed out by Coverity.
Backpatch to 9.2 where pg_test_timing was added.
2015-01-04 15:44:49 +01:00
Bruce Momjian
06b804377c
Remove undocumented -h (help) option
...
The -h option was not supported by many tools, and not documented, so
remove them for consistency from pg_upgrade, pg_test_fsync, and
pg_test_timing.
2013-07-01 12:40:33 -04:00
Bruce Momjian
9af4159fce
pgindent run for release 9.3
...
This is the first run of the Perl-based pgindent script. Also update
pgindent instructions.
2013-05-29 16:58:43 -04:00
Bruce Momjian
bd9c8e741b
Move long_options structures to the top of main() functions, for
...
consistency.
Per suggestion from Tom.
2012-11-30 14:49:55 -05:00
Bruce Momjian
0f3351aacf
Adjust pg_test_timing to show shortest test durations first, place
...
percentage column before count column. Docs updated.
2012-08-28 12:57:13 -04:00
Bruce Momjian
927d61eeff
Run pgindent on 9.2 source tree in preparation for first 9.3
...
commit-fest.
2012-06-10 15:20:04 -04:00
Robert Haas
3f427c1353
pg_test_timing: Lame hack to work around compiler warning.
...
Fujii Masao, plus a comment by me. While I'm at it, correctly tabify
this chunk of code.
2012-03-30 08:17:54 -04:00
Robert Haas
cee523867d
pg_test_timing utility, to measure clock monotonicity and timing cost.
...
Ants Aasma, Greg Smith
2012-03-27 16:14:00 -04:00