Re: lastOverflowedXid does not handle transaction ID wraparound - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: lastOverflowedXid does not handle transaction ID wraparound
Date
Msg-id 3F300306-D8B5-47F8-807E-6E6BF374ED52@yandex-team.ru
Whole thread Raw
In response to Re: lastOverflowedXid does not handle transaction ID wraparound  (Dmitry Dolgov <9erthalion6@gmail.com>)
Responses Re: lastOverflowedXid does not handle transaction ID wraparound  (Dmitry Dolgov <9erthalion6@gmail.com>)
Re: lastOverflowedXid does not handle transaction ID wraparound  (Stan Hu <stanhu@gmail.com>)
List pgsql-hackers

> 17 окт. 2021 г., в 21:55, Dmitry Dolgov <9erthalion6@gmail.com> написал(а):
> I wonder what would be side
> effects of clearing it when the snapshot is not suboverfloved anymore?

I think we should just invalidate lastOverflowedXid on every XLOG_RUNNING_XACTS if subxid_overflow == false. I can't
finda reason not to do so. 

Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PATCH] Fix memory corruption in pg_shdepend.c
Next
From: Japin Li
Date:
Subject: Re: [Bug] Logical Replication failing if the DateStyle is different in Publisher & Subscriber