add verbosity to pg_basebackup for sync

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема add verbosity to pg_basebackup for sync
Дата
Msg-id CAMkU=1ypeoMJ=tFBG8vP13sxEtXd4Pm_x1SqsJdW_RvzpcvN=A@mail.gmail.com
обсуждение исходный текст
Ответы Re: add verbosity to pg_basebackup for sync  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On some recent testing, pg_basebackup -Fp was taking an annoying amount of time to finish once the it was done copying the data.  Using -v seemed to blame this on "waiting for background process to finish streaming", based on that being the last message on display while the delay was happening.

But it was really waiting for the syncs of the new -D dir to finish.  The attached patch adds a -v notice that it is starting to do the sync, with the wording taken from initdb's equivalent message.

I think -P should report everything -v does, just with a carriage return rather than a newline, but that is a larger issue.

Cheers,

Jeff 
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Auditing via logical decoding
Следующее
От: Robert Haas
Дата:
Сообщение: Re: How can we submit code patches that implement our (pending) patents?