Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman
Дата
Msg-id 20220407181202.7xa573u6e2z5dbdz@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2022-04-07 13:57:45 -0400, Tom Lane wrote:
> Yeah, with only one instance it could just be cosmic rays or something.
> However, assuming it is real, I guess I wonder why we don't say
> CHECKPOINT_FORCE in standby mode too.

I guess it might partially be that restartpoints require a checkpoint to have
happened on the primary. If we used FORCE, we'd have to wait till the next
checkpoint on the primary, which'd be a problem if it's e.g. a manually issued
CHECKPOINT; before shutting the standby down.

Greetings,

Andres Freund



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

Предыдущее
От: Petr Jelinek
Дата:
Сообщение: Re: API stability [was: pgsql: Fix possible recovery trouble if TRUNCATE overlaps a checkpoint.]
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: [PATCH] Implement INSERT SET syntax