Thread: pgsql: Each worker thread will have its own log file in pgbench to avoid

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

From
itagaki@postgresql.org (Takahiro Itagaki)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/contrib/pgbench:
        pgbench.c (r1.97 -> r1.98)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c?r1=1.97&r2=1.98)
    pgsql/doc/src/sgml:
        pgbench.sgml (r1.12 -> r1.13)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/pgbench.sgml?r1=1.12&r2=1.13)