Re: Add 64-bit XIDs into PostgreSQL 15

From: "Finnerty, Jim" <jfinnert(at)amazon(dot)com>
To: Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>, Maxim Orlov <orlovmg(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Date: 2022-01-12 13:32:16
Message-ID: D6AAA0A2-B48F-41F3-BB8C-B6214928C880@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 of the rest of the patch?

On 1/12/22, 8:28 AM, "Simon Riggs" <simon(dot)riggs(at)enterprisedb(dot)com> wrote:

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

On Sat, 8 Jan 2022 at 08:21, Maxim Orlov <orlovmg(at)gmail(dot)com> wrote:
>>
>> Perhaps we can merge some of the code cleanup that it contained, such as using XID_FMT everywhere and creating a 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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-01-12 13:38:29 Re: Postgres Replication from windows to linux
Previous Message Simon Riggs 2022-01-12 13:26:57 Re: Add 64-bit XIDs into PostgreSQL 15