On Mon, Jun 13, 2016 at 9:53 AM, Thom Brown wrote:
> On 12 June 2016 at 12:51, Michael Paquier wrote:
>>
>> On Sun, Jun 12, 2016 at 7:52 PM, Thom Brown wrote:
>> > Aren't those already set by recoveryStopsBefore()?
>>
>> It is possible
On 12 June 2016 at 12:51, Michael Paquier wrote:
> On Sun, Jun 12, 2016 at 7:52 PM, Thom Brown 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
On Sun, Jun 12, 2016 at 7:52 PM, Thom Brown 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?
--
Michael
--
Sent via pgsql-hackers
On 11 June 2016 at 13:22, Michael Paquier wrote:
> On Sat, Jun 11, 2016 at 9:44 AM, Thom Brown wrote:
> > It may be the wrong way of going about it, but you get the idea of what
> I'm
> > suggesting we output instead.
>
> Surely things could be better.
On Sun, Jun 12, 2016 at 12:46 AM, David Steele wrote:
> On 6/11/16 8:22 AM, Michael Paquier wrote:
>> On Sat, Jun 11, 2016 at 9:44 AM, Thom Brown wrote:
>>> It may be the wrong way of going about it, but you get the idea of what I'm
>>> suggesting we output
On 6/11/16 8:22 AM, Michael Paquier wrote:
> On Sat, Jun 11, 2016 at 9:44 AM, Thom Brown wrote:
>> It may be the wrong way of going about it, but you get the idea of what I'm
>> suggesting we output instead.
>
> Surely things could be better. So +1 to be more verbose here.
>
> +
On Sat, Jun 11, 2016 at 9:44 AM, Thom Brown wrote:
> It may be the wrong way of going about it, but you get the idea of what I'm
> suggesting we output instead.
Surely things could be better. So +1 to be more verbose here.
+if (recoveryStopTime == 0)
+
Hi all,
When recovery_target_time is set, but recovery finishes before it reaches
that time, it outputs "before 2000-01-01 00:00:00+00" to the .history
file. This is because it uses recoveryStopTime, which is initialised to 0,
but is never set, and is then passed to timestamptz_to_str, which