Re: lastOverflowedXid does not handle transaction ID wraparound

Nikolay Samokhvalov <nikolay@samokhvalov.com>

From: Nikolay Samokhvalov <nikolay@samokhvalov.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Date: 2021-11-02T07:01:28Z
Lists: pgsql-hackers
On Mon, Nov 1, 2021 at 11:55 PM Nikolay Samokhvalov <nikolay@samokhvalov.com>
wrote:

> The following review has been posted through the commitfest application:
> make installcheck-world:  tested, failed


Please ignore this – I didn't understand the UI.

Commits

  1. Reset lastOverflowedXid on standby when needed

  2. Fix variable shadowing in procarray.c.

  3. Move InRecovery and standbyState global vars to xlogutils.c.