Обсуждение: pgsql: pg_basebackup: Fix progress messages when writing to a file

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

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

От
Peter Eisentraut
Дата:
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(-)