Enhance pgbench -l option to add timestamp. Patch contributed by Greg

Tatsuo Ishii <ishii@postgresql.org>

Commit: e574f2a029d707201aad307983fa74972aceab4a
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: 2007-04-06T09:16:16Z
Releases: 8.3.0
Enhance pgbench -l option to add timestamp. Patch contributed by Greg
Smith. Along with Japanese doc updation by Tasuo Ishii.

> This patch changes the way pgbench outputs its latency log files so that
> every transaction gets a timestamp and notes which transaction type was
> executed.  It's a one-line change that just dumps some additional
> information that was already sitting in that area of code. I also made a
> couple of documentation corrections and clarifications on some of the more
> confusing features of pgbench.
>
> It's straightforward to parse log files in this format to analyze what
> happened during the test at a higher level than was possible with the
> original format.  You can find some rough sample code to convert this
> latency format into CVS files and then into graphs at
> http://www.westnet.com/~gsmith/content/postgresql/pgbench.htm which I'll
> be expanding on once I get all my little patches sent in here.

Files

PathChange+/−
contrib/pgbench/pgbench.c modified +3 −2
contrib/pgbench/README.pgbench modified +24 −5
contrib/pgbench/README.pgbench_jis modified +25 −2