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

From Finnerty, Jim
Subject Re: Add 64-bit XIDs into PostgreSQL 15
Date
Msg-id D6AAA0A2-B48F-41F3-BB8C-B6214928C880@amazon.com
Whole thread Raw
In response to Re: Add 64-bit XIDs into PostgreSQL 15  (Simon Riggs <simon.riggs@enterprisedb.com>)
Responses Re: Add 64-bit XIDs into PostgreSQL 15
List pgsql-hackers
Re: patch that uses XID_FMT everywhere ... to make the main patch much smaller

That's exactly what my previous patch did, plus the patch to support 64-bit GUCs.

Maxim, maybe it's still a good idea to isolate those two patches and submit them separately first, to reduce the size
ofthe rest of the patch?
 

On 1/12/22, 8:28 AM, "Simon Riggs" <simon.riggs@enterprisedb.com> wrote:

    CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you
canconfirm the sender and know the content is safe.
 



    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
creatinga type for 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: Simon Riggs
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Next
From: Peter Eisentraut
Date:
Subject: Re: Postgres Replication from windows to linux