pgsql: pg_basebackup: Fix progress messages when writing to a file - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: pg_basebackup: Fix progress messages when writing to a file
Date
Msg-id E1eKmFf-000501-Vv@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: Re: pgsql: New C function: bms_add_range
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Check channel binding flag at end of SCRAM exchange