Re: Inaccuracy in wal_receiver_status_interval parameter description

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Inaccuracy in wal_receiver_status_interval parameter description
Дата
Msg-id YCyxLhg2ZHk0P9rA@paquier.xyz
обсуждение исходный текст
Ответ на Inaccuracy in wal_receiver_status_interval parameter description  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
On Tue, Feb 16, 2021 at 07:24:04AM +0000, PG Doc comments form wrote:
> The documentation says that setting wal_receiver_status_interval to 0
> disable updates of replication status completely. However walreceiver keep
> sending status in some cases. For example, when startup has finished
> processing WALs and start waiting for more:
> https://github.com/postgres/postgres/blob/master/src/backend/access/transam/xlog.c#L12598-L12609
> It would be helpful to document in what cases status updates are still being
> sent.

The docs say only that:
"Updates are sent each time the write or flush positions change, or at
least as often as specified by this parameter."

So it could make sense to complete a bit this paragraph with some
words about the places where WalRcvForceReply() or similar logic is
used.  The case of the end of the WAL stream ending would be an extra
one.  How would you formulate that and what are the cases you think
would be worth mentioning?
--
Michael

Вложения

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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: createdb
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: CREATE TABLE typo