Thread: pgsql: pgbench: Allow the transaction log file prefix to be changed.

pgsql: pgbench: Allow the transaction log file prefix to be changed.

From
Robert Haas
Date:
pgbench: Allow the transaction log file prefix to be changed.

Masahiko Sawada, reviewed by Fabien Coelho and Beena Emerson, with
some a bit of wordsmithing and cosmetic adjustment by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/41124a91e61fc6d9681c1e8b15ba30494e84d643

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml | 26 +++++++++++++++++++-------
src/bin/pgbench/pgbench.c     | 20 ++++++++++++++++++--
2 files changed, 37 insertions(+), 9 deletions(-)


Re: pgsql: pgbench: Allow the transaction log file prefix to be changed.

From
Tom Lane
Date:
Robert Haas <rhaas@postgresql.org> writes:
> pgbench: Allow the transaction log file prefix to be changed.

Perhaps the "logpath" buffer that the filename is constructed in
needs to be made bigger.  64 bytes was obviously enough with the
old pattern, but it's not with the new.

            regards, tom lane