On Thu, Jun 22, 2017 at 3:04 AM, Andres Freund <[email protected]> wrote: > When doing a PITR style recovery, with recovery target set, we're > currently not doing a fast promotion, in contrast to the handling when > doing a pg_ctl or trigger file based promotion. That can prolong making > the server available for writes. > > I can't really see a reason for this?
Yes, you are right. I see no reason either why this cannot be done. Why not just switching fast_promote to true in when using RECOVERY_TARGET_ACTION_PROMOTE? That's a bug, not a critical one though. -- Michael
recovery-stop-promote.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
