On Mon, Jun 13, 2016 at 9:53 AM, Thom Brown <t...@linux.com> wrote:
> On 12 June 2016 at 12:51, Michael Paquier <michael.paqu...@gmail.com> wrote:
>> On Sun, Jun 12, 2016 at 7:52 PM, Thom Brown <t...@linux.com> wrote:
>> > Aren't those already set by recoveryStopsBefore()?
>> It is possible to exit the main redo loop if a NULL record is found
>> after calling ReadRecord, in which case those would not be set, no?
> I'm apprehensive about initialising those values myself as I don't want to
> set them at a point where they may potentially already be set.
As your patch relies on checks on the variables holding the recovery
stop information as not being set, initializing them before entering
in the REDO phase (say just before 6435:xlog.c on HEAD) is the safest
thing to do IMO.
Sent via pgsql-hackers mailing list (email@example.com)
To make changes to your subscription: