Each worker thread will have its own log file in pgbench to avoid interleaved
Itagaki Takahiro <itagaki.takahiro@gmail.com>
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
| Path | Change | +/− |
|---|---|---|
| contrib/pgbench/pgbench.c | modified | +41 −30 |
| doc/src/sgml/pgbench.sgml | modified | +640 −630 |