diff options
Diffstat (limited to 'src/backend/utils/time/tqual.c')
-rw-r--r-- | src/backend/utils/time/tqual.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/time/tqual.c b/src/backend/utils/time/tqual.c index 703bdcedaf4..519f3b68031 100644 --- a/src/backend/utils/time/tqual.c +++ b/src/backend/utils/time/tqual.c @@ -13,9 +13,9 @@ * NOTE: When using a non-MVCC snapshot, we must check * TransactionIdIsInProgress (which looks in the PGXACT array) * before TransactionIdDidCommit/TransactionIdDidAbort (which look in - * pg_clog). Otherwise we have a race condition: we might decide that a + * pg_xact). Otherwise we have a race condition: we might decide that a * just-committed transaction crashed, because none of the tests succeed. - * xact.c is careful to record commit/abort in pg_clog before it unsets + * xact.c is careful to record commit/abort in pg_xact before it unsets * MyPgXact->xid in the PGXACT array. That fixes that problem, but it * also means there is a window where TransactionIdIsInProgress and * TransactionIdDidCommit will both return true. If we check only @@ -29,7 +29,7 @@ * * When using an MVCC snapshot, we rely on XidInMVCCSnapshot rather than * TransactionIdIsInProgress, but the logic is otherwise the same: do not - * check pg_clog until after deciding that the xact is no longer in progress. + * check pg_xact until after deciding that the xact is no longer in progress. * * * Summary of visibility functions: |