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

From Maxim Orlov
Subject Re: Add 64-bit XIDs into PostgreSQL 15
Date
Msg-id CACG=ezb=y_N1yL_r2idtf-hTuu6AHpgFH-s4a9HMCm-AbykAMQ@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
Hi!

Here is a rebased and improved version of the patchset: now we use 64 bit atomic operations on shared memory which was not previously warrantied on 32 bit architectures.

Before this change under heavy transaction concurrency we've got a warning "xmin is far in the past", rarely. This was seen on 32 bit architectures.

On 64 bit these changes do not change performance since 64 bit atomicity is automatically fulfilled.

Only 0008 patch is changed.

--
Best regards,
Maxim Orlov.
Attachment

pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Improving connection scalability (src/backend/storage/ipc/procarray.c)
Next
From: Robert Haas
Date:
Subject: Re: "ERROR: latch already owned" on gharial