• Tom Lane's avatar
    Fix TransactionIdIsCurrentTransactionId() to use binary search instead of · 32846f81
    Tom Lane authored
    linear search when checking child-transaction XIDs.  This makes for an
    important speedup in transactions that have large numbers of children,
    as in a recent example from Craig Ringer.  We can also get rid of an
    ugly kluge that represented lists of TransactionIds as lists of OIDs.
    
    Heikki Linnakangas
    32846f81
twophase.c 48.9 KB