From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: pg_basebackup: Fix progress messages when writing to a file
Date: Fri, 01 Dec 2017 14:25:15 +0000
Message-ID: <E1eKmFf-000501-Vv@gemulon.postgresql.org> (raw)
pg_basebackup: Fix progress messages when writing to a file
The progress messages print out \r to keep overwriting the same line on
the screen. But this does not yield useful results when writing the
output to a file. So in that case, print out \n instead.
Author: Martín Marqués <martin@2ndquadrant.com>
Reviewed-by: Arthur Zakirov <a.zakirov@postgrespro.ru>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/143b54d21d37804707c27edebdbd4410891da133
Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: pg_basebackup: Fix progress messages when writing to a file
In-Reply-To: <E1eKmFf-000501-Vv@gemulon.postgresql.org>
References: <E1eKmFf-000501-Vv@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox