On 02/12/2025 21:13, Melanie Plageman wrote:
> In terms of finding some XID to set it to, could we do what updates
> and deletes do and use the XLogRecord->xl_xid?
A prune record can have XLogRecord->xl_xid == InvalidTransactionId, if
the transaction hasn't been assigned a transaction ID yet. I think
ReadNextTransactionId() - 1 would work. (Using TransactionIdRetreat
rather than plain - 1, of course)
- Heikki