Re: XLogCtl->ckptFullXid is unused

Aleksander Alekseev <aleksander@tigerdata.com>

From: Aleksander Alekseev <aleksander@tigerdata.com>
To: pgsql-hackers@postgresql.org
Cc: Nathan Bossart <nathandbossart@gmail.com>
Date: 2025-07-11T21:32:31Z
Lists: pgsql-hackers
Hi Nathan,

> I just noticed $SUBJECT.  This seems to be an oversight in commit 2fc7af5,
> which simultaneously combined ckptXidEpoch and ckptXid into ckptFullXid
and
> removed the only use of that information, i.e., GetNextXidAndEpoch().  Any
> objections if I remove it now?

Good catch. I don't see any reason why we might want to keep ckptFullXid.
Also I checked if there are any references left to this field - there are
none.

Commits

  1. Remove XLogCtl->ckptFullXid.

  2. Add basic infrastructure for 64 bit transaction IDs.