comment for TwoPhaseGetOldestXidInCommit

Started by Robert Haas3 months ago2 messages
#1Robert Haas
robertmhaas@gmail.com

Amit and all,

I noticed today that TwoPhaseGetOldestXidInCommit has a header comment
where the same function is called TwoPhaseGetXidByLockingProc:

/*
* TwoPhaseGetXidByLockingProc
* Return the oldest transaction ID from prepared
transactions that are
* currently in the commit critical section.
*
* This function only considers transactions in the currently connected
* database. If no matching transactions are found, it returns
* InvalidTransactionId.
*/
TransactionId
TwoPhaseGetOldestXidInCommit(void)

This inconsistency should be corrected.

Thanks,

--
Robert Haas
EDB: http://www.enterprisedb.com

#2Amit Kapila
amit.kapila16@gmail.com
In reply to: Robert Haas (#1)
Re: comment for TwoPhaseGetOldestXidInCommit

On Tue, Oct 7, 2025 at 9:56 PM Robert Haas <robertmhaas@gmail.com> wrote:

I noticed today that TwoPhaseGetOldestXidInCommit has a header comment
where the same function is called TwoPhaseGetXidByLockingProc:

...

This inconsistency should be corrected.

Right, I'll take care of it. Thanks for the report.

--
With Regards,
Amit Kapila.