Re: POC: make mxidoff 64 bits - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: POC: make mxidoff 64 bits
Date
Msg-id b3e13089-fa03-4241-b203-1ba140ef86dc@iki.fi
Whole thread Raw
In response to Re: POC: make mxidoff 64 bits  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: POC: make mxidoff 64 bits
List pgsql-hackers
On 09/12/2025 14:00, Heikki Linnakangas wrote:
> 1. Currently, at multixid wraparound, MultiXactState->nextMXact goes to 
> 0, which is invalid. All the readers must be prepared for that, and skip 
> over the 0. That's error-prone, we've already missed that a few times. 
> Let's change things so that the code that *writes* MultiXactState- 
>  >nextMXact skips over the zero already.

Here's a patch for that. Does anyone see a problem with this?

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Solaris versus our NLS files
Next
From: Tom Lane
Date:
Subject: Re: Solaris versus our NLS files