Re: Documentation patch for backup manifests in protocol.sgml

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Documentation patch for backup manifests in protocol.sgml
Дата
Msg-id 20200824075834.GA25747@paquier.xyz
обсуждение исходный текст
Ответ на Re: Documentation patch for backup manifests in protocol.sgml  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Documentation patch for backup manifests in protocol.sgml  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Fri, Aug 21, 2020 at 06:03:32PM -0400, Bruce Momjian wrote:
> On Tue, Aug 18, 2020 at 02:41:09PM +0200, Bernd Helmle wrote:
>> protocol.sgml describes the protocol messages received by a BASE_BACKUP
>> streaming command, but doesn't tell anything about the additional
>> CopyResponse data message containing the contents of the backup
>> manifest (if requested) after having received the tar files. So i
>> propose the attached to give a little more detail in this paragraph.
>
> If someone can confirm this, I will apply it?  Magnus?

The reason why backup manifests are sent at the end of a base backup
is that they include the start and stop positions of the backup (see
caller of AddWALInfoToBackupManifest() in perform_base_backup()).
Once this is done, an extra CopyOutResponse message is indeed sent
within SendBackupManifest() in backup_manifest.c.

So confirmed.
--
Michael

Вложения

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

Предыдущее
От: Tatsuro Yamada
Дата:
Сообщение: Re: list of extended statistics on psql
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Creating a function for exposing memory usage of backend process