Re: How to check if checkpoint is finished in sql script?

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: How to check if checkpoint is finished in sql script?
Дата
Msg-id 20220905100535.GA17522@depesz.com
обсуждение исходный текст
Ответ на How to check if checkpoint is finished in sql script?  (Yi Sun <yinan81@gmail.com>)
Список pgsql-general
On Mon, Sep 05, 2022 at 04:55:28PM +0800, Yi Sun wrote:
> How to check if the checkpoint is finished in sql script please? We know
> that the log file will show it, but we want to check it in sql then can
> easily be used by ansible, thanks

Well, if the command "checkpoint" finished, and returned, and there is
no error - then checkpoint has finished.

Best regards,

depesz




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

Предыдущее
От: Yi Sun
Дата:
Сообщение: How to check if checkpoint is finished in sql script?
Следующее
От: Meera Nair
Дата:
Сообщение: RE: Unable to archive logs in standby server