On Tue, Jul 12, 2016 at 10:23 PM, Jeff Janes <jeff.ja...@gmail.com> wrote: > I've been having some adventures with pg_basebackup lately, and had > some suggestions based on those. > > The --help message for pg_basebackup says: > > -Z, --compress=0-9 compress tar output with given compression level > > But -Z0 is then rejected as 'invalid compression level "0"'. The real > docs do say 1-9, only the --help message has this bug. Trivial patch > attached. > > These ones I have not written code for yet: > > The progress reporting for pg_basebackup is pretty terse: > > 858117/7060099 kB (12%), 0/1 tablespace > > I think we should at least add a count-up timer showing the seconds it > has been running. I can always use my own stopwatch, but that is not > very friendly and easy to forget to start. >
Another possibility is to enhance -P option as -P sec, such that it will display progress after ever 'sec' seconds. Something like we have for pgbench. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers