Thread

Commits

  1. Fix typo in function header comment.

  1. comment for TwoPhaseGetOldestXidInCommit

    Robert Haas <robertmhaas@gmail.com> — 2025-10-07T16:25:45Z

    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
    
    
    
    
  2. Re: comment for TwoPhaseGetOldestXidInCommit

    Amit Kapila <amit.kapila16@gmail.com> — 2025-10-08T02:55:04Z

    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.