Re: BUG #16780: Inconsistent recovery_target_xid handling across platforms

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16780: Inconsistent recovery_target_xid handling across platforms
Date: 2020-12-23 06:00:00
Message-ID: 7e691f38-666e-7991-1107-f87608575560@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

23.12.2020 07:44, Michael Paquier wrote:
> On Tue, Dec 22, 2020 at 02:02:46PM +0900, Michael Paquier wrote:
>> So, attached is a patch to make the logic more consistent that I would
>> like to apply down to 12. Please let me know if there are any
>> objections or comments.
> I have looked at that again this morning, and applied a fix down to
> 9.6 with the change in the TAP tests based on pg_resetwal. In 9.5,
> pg_strtouint64() is not available, but this branch is old enough that
> it did not seem worth the extra effort.
Thank you!
I think that with this change, if the check for epoch will be added
someday, it will work consistently too.

Best regards,
Alexander

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrey Borodin 2020-12-23 07:23:28 Re: CREATE INDEX CONCURRENTLY does not index prepared xact's data
Previous Message Michael Paquier 2020-12-23 04:44:43 Re: BUG #16780: Inconsistent recovery_target_xid handling across platforms