Re: How to check if checkpoint is finished in sql script? - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: How to check if checkpoint is finished in sql script?
Date
Msg-id 20220905100535.GA17522@depesz.com
Whole thread Raw
In response to How to check if checkpoint is finished in sql script?  (Yi Sun <yinan81@gmail.com>)
List 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 by date:

Previous
From: Yi Sun
Date:
Subject: How to check if checkpoint is finished in sql script?
Next
From: Meera Nair
Date:
Subject: RE: Unable to archive logs in standby server