pgbench -i progress output on terminal

Amit Langote <amitlangote09@gmail.com>

From: Amit Langote <amitlangote09@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-11-28T01:41:14Z
Lists: pgsql-hackers

Attachments

Hi,

I wonder why we don't use the same style for $subject as pg_basebackup
--progress, that is, use a carriage return instead of a newline after
each line reporting the number of tuples copied?

Attached patch for that.

Thanks,
Amit

Commits

  1. Use carriage returns for data insertion logs in pgbench on terminal