postgres.git / summary / log / commit / refs
commit 1fe1d09652d796392785922bef54e0ffda6e1f05
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Mon Sep 19 10:35:01 2022 +0000
First released in: 16.0, 15.0
Add missing serial commas
doc/src/sgml/ref/pgbench.sgml | 2 +-
src/bin/pgbench/pgbench.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml
index 1a1be489e7e..40e6a50a7f5 100644
--- a/doc/src/sgml/ref/pgbench.sgml
+++ b/doc/src/sgml/ref/pgbench.sgml
@@ -636,7 +636,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
<para>
Report the following statistics for each command after the benchmark
finishes: the average per-statement latency (execution time from the
- perspective of the client), the number of failures and the number of
+ perspective of the client), the number of failures, and the number of
retries after serialization or deadlock errors in this command. The
report displays retry statistics only if the
<option>--max-tries</option> option is not equal to 1.
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c
index 4d5d6560bf6..aa1a3541fe6 100644
--- a/src/bin/pgbench/pgbench.c
+++ b/src/bin/pgbench/pgbench.c
@@ -908,7 +908,7 @@ usage(void)
" protocol for submitting queries (default: simple)\n"
" -n, --no-vacuum do not run VACUUM before tests\n"
" -P, --progress=NUM show thread progress report every NUM seconds\n"
- " -r, --report-per-command report latencies, failures and retries per command\n"
+ " -r, --report-per-command report latencies, failures, and retries per command\n"
" -R, --rate=NUM target rate in transactions per second\n"
" -s, --scale=NUM report this scale factor in output\n"
" -t, --transactions=NUM number of transactions each client runs (default: 10)\n"
[parent: a23417790631]