comment for TwoPhaseGetOldestXidInCommit - Mailing list pgsql-hackers

From Robert Haas
Subject comment for TwoPhaseGetOldestXidInCommit
Date
Msg-id CA+TgmoZYh_nw-2j_Fi9y6ZAvrpN+W1aSOFNM7Rus2Q-zTkCsQw@mail.gmail.com
Whole thread Raw
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Should we update the random_page_cost default value?
Next
From: Nathan Bossart
Date:
Subject: Re: Add mode column to pg_stat_progress_vacuum