Hi, > The attached patch updates minRecoveryPoint and minRecoveryPointTLI at this > point by mimicking CreateEndOfRecoveryRecord(). > With this patch, you can run pg_rewind with cascade standby immediately. > (without waiting for checkpointing)
Many thanks for submitting the patch. I added it to the nearest open commitfest [1]. IMO a test is needed that makes sure no one is going to break this in the future. [1]: https://commitfest.postgresql.org/45/4559/ -- Best regards, Aleksander Alekseev