diff options
author | David Rowley <drowley@postgresql.org> | 2023-04-18 14:03:30 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2023-04-18 14:03:49 +1200 |
commit | eef231e8161eb8031a928fe48134ef25ab81fe5e (patch) | |
tree | 17f1882a677a251f2638fb1893ec2a6fca1885d3 /src/bin/pgbench/pgbench.c | |
parent | b4dbf3e924b2556acbe103dc61ac71f9985ff24f (diff) | |
download | postgresql-eef231e8161eb8031a928fe48134ef25ab81fe5e.tar.gz postgresql-eef231e8161eb8031a928fe48134ef25ab81fe5e.zip |
Fix some typos and some incorrectly duplicated words
Author: Justin Pryzby
Reviewed-by: David Rowley
Discussion: https://postgr.es/m/ZD3D1QxoccnN8A1V@telsasoft.com
Diffstat (limited to 'src/bin/pgbench/pgbench.c')
-rw-r--r-- | src/bin/pgbench/pgbench.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index 47b2c87f7f2..70ed034e70a 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -3541,7 +3541,7 @@ printVerboseErrorMessages(CState *st, pg_time_usec_t *now, bool is_retry) "ends the failed transaction")); appendPQExpBuffer(buf, " (try %u", st->tries); - /* Print max_tries if it is not unlimitted. */ + /* Print max_tries if it is not unlimited. */ if (max_tries) appendPQExpBuffer(buf, "/%u", max_tries); @@ -5303,7 +5303,7 @@ GetTableInfo(PGconn *con, bool scale_given) pg_log_error_hint("Perhaps you need to do initialization (\"pgbench -i\") in database \"%s\".", PQdb(con)); exit(1); } - else /* PQntupes(res) == 1 */ + else /* PQntuples(res) == 1 */ { /* normal case, extract partition information */ if (PQgetisnull(res, 0, 1)) |