Hi, On 2026-02-09 08:40:48 -0500, Robert Haas wrote: > On Sun, Feb 8, 2026 at 12:21 PM Andres Freund <[email protected]> wrote: > > On the topic of pd_prune_xid - I've been wondering if, instead of the double > > xmax approach, the high bits of the 64bit xid could be stored in > > pd_prune_xid, > > signified by a flag on the page indicating so. > > We potentially have both XIDs and MXIDs to worry about, though.
I don't think mxids are a problem for the case of needing to update a page that doesn't have space for the new pd_special region (with both xid and mxid epoch), because you can always can just replace mxids with the underlying xids when you're in that situation, they have to be old enough for that to be possible. Or you could even create new multixacts, but I don't think that should ever be needed. Greetings, Andres Freund
