Re: make pg_ctl more friendly

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: make pg_ctl more friendly
Дата
Msg-id 20231109013250.hfg4pskgigfenrtw@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: make pg_ctl more friendly  (Crisp Lee <litianxiang01@gmail.com>)
Ответы Re: make pg_ctl more friendly
Список pgsql-hackers
Hi,

On 2023-11-09 09:29:32 +0800, Crisp Lee wrote:
> How to judge from 'DB_SHUTDOWNED' that PITR ends normally? 'DB_SHUTDOWNED'
> is just a state, it could not give more meaning, so I reuse the
> recovery.done.

DB_SHUTDOWNED cannot be encountered while recovery is ongoing. If there was a
hard crash, you'd see DB_IN_ARCHIVE_RECOVERY or such, if the command was shut
down orderly before PITR has finished, you'd see DB_SHUTDOWNED_IN_RECOVERY.

- Andres



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Add new option 'all' to pg_stat_reset_shared()
Следующее
От: David Christensen
Дата:
Сообщение: Re: [PATCHES] Post-special page storage TDE support