Each worker thread will have its own log file in pgbench to avoid interleaved

Itagaki Takahiro <itagaki.takahiro@gmail.com>

Commit: a887c486d5df956de8ac3ee5db9b5e1c8bbe9fd1
Author: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Date: 2010-03-23T01:29:22Z
Releases: 9.0.0
Each worker thread will have its own log file in pgbench to avoid interleaved
writes. The first worker still uses "pgbench_log.<pid>" for the name, but
additional workers use "pgbench_log.<pid>.<serial-number>" instead.

Reported by Greg Smith.

Files

PathChange+/−
contrib/pgbench/pgbench.c modified +41 −30
doc/src/sgml/pgbench.sgml modified +640 −630