Re: Add 64-bit XIDs into PostgreSQL 15 - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Add 64-bit XIDs into PostgreSQL 15
Date
Msg-id CANbhV-GFdAJ1J7rdZDcqYVH+u7MSaB2zMmsXm+Vf73MWsEZwJA@mail.gmail.com
Whole thread Raw
In response to Re: Add 64-bit XIDs into PostgreSQL 15  (Maxim Orlov <orlovmg@gmail.com>)
Responses Re: Add 64-bit XIDs into PostgreSQL 15
List pgsql-hackers
On Sat, 8 Jan 2022 at 08:21, Maxim Orlov <orlovmg@gmail.com> wrote:
>>
>>    Perhaps we can merge some of the code cleanup that it contained, such as using XID_FMT everywhere and creating a
typefor the kind of page returned by TransactionIdToPage() to make the code cleaner.
 
>
>
> Agree, I think this is a good idea.

Looks to me like the best next actions would be:

1. Submit a patch that uses XID_FMT everywhere, as a cosmetic change.
This looks like it will reduce the main patch size considerably and
make it much less scary. That can be cleaned up and committed while we
discuss the main approach.

2. Write up the approach in a detailed README, so people can
understand the proposal and assess if there are problems. A few short
notes and a link back to old conversations isn't enough to allow wide
review and give confidence on such a major patch.

-- 
Simon Riggs                http://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: "osumi.takamichi@fujitsu.com"
Date:
Subject: RE: Failed transaction statistics to measure the logical replication progress
Next
From: "Finnerty, Jim"
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15