Re: BUG #16780: Inconsistent recovery_target_xid handling across platforms

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2020-12-23T07:42:04Z
Lists: pgsql-bugs
On Wed, Dec 23, 2020 at 09:00:00AM +0300, Alexander Lakhin wrote:
> I think that with this change, if the check for epoch will be added
> someday, it will work consistently too.

WAL record size has always been a sensitive topic, and this would add
4 extra bytes to each record.  So that's hard to say.
--
Michael

Commits

  1. Fix portability issues with parsing of recovery_target_xid