[HACKERS] Fast promotion not used when doing a recovery_target PITR restore? - Mailing list pgsql-hackers

From Andres Freund
Subject [HACKERS] Fast promotion not used when doing a recovery_target PITR restore?
Date
Msg-id 20170621180449.uvlybbbyr3bpwlqp@alap3.anarazel.de
Whole thread Raw
Responses Re: [HACKERS] Fast promotion not used when doing a recovery_targetPITR restore?  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Hi,

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?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: [HACKERS] archive_timeout ignored directly after promotion
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] CREATE SUBSCRIPTION log noise