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

From Heikki Linnakangas
Subject Re: Add 64-bit XIDs into PostgreSQL 15
Date
Msg-id 00b3c734-36ef-45b6-9d7e-340fd18e8d79@iki.fi
Whole thread Raw
In response to Re: Add 64-bit XIDs into PostgreSQL 15  (Maxim Orlov <orlovmg@gmail.com>)
List pgsql-hackers
On 27/02/2026 16:21, Maxim Orlov wrote:
> I just wanted to share my work-in-progress on switching the clog to 64
> bits. So far, I've only dealt with the clog itself. Right now, support
> for the x86 platform is lacking. But the first two patches are
> refactorings and can be committed promptly.
> 
> What are your thoughts on this?

This is not useful, until we have an epoch on heap pages, and can deal 
with 64-bit XIDs in many other places too. But it *would* be useful to 
have an epoch on heap pages without this patch. It eliminates the need 
to dirty pages when freezing, when there are no dead tuples.  So I'd 
suggest starting with epochs on heap pages.

- Heikki




pgsql-hackers by date:

Previous
From: Maxim Orlov
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Next
From: Álvaro Herrera
Date:
Subject: Re: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands