pgsql: pg_basebackup: Fix progress messages when writing to a file

Поиск
Список
Период
Сортировка
Искать

pgsql: pg_basebackup: Fix progress messages when writing to a file

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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 
Reviewed-by: Arthur Zakirov 

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(-)

FAQ