From 41124a91e61fc6d9681c1e8b15ba30494e84d643 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 9 Nov 2016 16:26:32 -0500 Subject: [PATCH] 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. --- doc/src/sgml/ref/pgbench.sgml | 26 +++++++++++++++++++------- src/bin/pgbench/pgbench.c | 20 ++++++++++++++++++-- 2 files changed, 37 insertions(+), 9 deletions(-) diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml index 285608d508a..3a65729bf35 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -614,6 +614,16 @@ pgbench options dbname + + + + + Set the filename prefix for the transaction log file created by + + + + @@ -1121,15 +1131,17 @@ END; With the , pgbench writes the time taken by each transaction to a log file. The log file will be named - pgbench_log.nnn, where - nnn is the PID of the pgbench process. - If the