]> granicus.if.org Git - postgresql/commit
Each worker thread will have its own log file in pgbench to avoid interleaved
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Tue, 23 Mar 2010 01:29:22 +0000 (01:29 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Tue, 23 Mar 2010 01:29:22 +0000 (01:29 +0000)
commita887c486d5df956de8ac3ee5db9b5e1c8bbe9fd1
treedc627df9f05ea9121e68b1413337eb308e582b2d
parent1d34814ac2bfcf1c577b9cb6d6b3719c9a41f9ec
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.
contrib/pgbench/pgbench.c
doc/src/sgml/pgbench.sgml