@@ -1208,8 +1208,8 @@ RecordTransactionCommit(void)
1208
1208
/*
1209
1209
* Mark ourselves as within our "commit critical section". This
1210
1210
* forces any concurrent checkpoint to wait until we've updated
1211
- * pg_clog . Without this, it is possible for the checkpoint to set
1212
- * REDO after the XLOG record but fail to flush the pg_clog update to
1211
+ * pg_xact . Without this, it is possible for the checkpoint to set
1212
+ * REDO after the XLOG record but fail to flush the pg_xact update to
1213
1213
* disk, leading to loss of the transaction commit if the system
1214
1214
* crashes a little later.
1215
1215
*
@@ -2035,7 +2035,7 @@ CommitTransaction(void)
2035
2035
if (!is_parallel_worker )
2036
2036
{
2037
2037
/*
2038
- * We need to mark our XIDs as committed in pg_clog . This is where we
2038
+ * We need to mark our XIDs as committed in pg_xact . This is where we
2039
2039
* durably commit.
2040
2040
*/
2041
2041
latestXid = RecordTransactionCommit ();
@@ -2545,7 +2545,7 @@ AbortTransaction(void)
2545
2545
AtAbort_Twophase ();
2546
2546
2547
2547
/*
2548
- * Advertise the fact that we aborted in pg_clog (assuming that we got as
2548
+ * Advertise the fact that we aborted in pg_xact (assuming that we got as
2549
2549
* far as assigning an XID to advertise). But if we're inside a parallel
2550
2550
* worker, skip this; the user backend must be the one to write the abort
2551
2551
* record.
@@ -4631,7 +4631,7 @@ AbortSubTransaction(void)
4631
4631
s -> parent -> subTransactionId );
4632
4632
AtSubAbort_Notify ();
4633
4633
4634
- /* Advertise the fact that we aborted in pg_clog . */
4634
+ /* Advertise the fact that we aborted in pg_xact . */
4635
4635
(void ) RecordTransactionAbort (true);
4636
4636
4637
4637
/* Post-abort cleanup */
@@ -5375,7 +5375,7 @@ xact_redo_commit(xl_xact_parsed_commit *parsed,
5375
5375
if (standbyState == STANDBY_DISABLED )
5376
5376
{
5377
5377
/*
5378
- * Mark the transaction committed in pg_clog .
5378
+ * Mark the transaction committed in pg_xact .
5379
5379
*/
5380
5380
TransactionIdCommitTree (xid , parsed -> nsubxacts , parsed -> subxacts );
5381
5381
}
@@ -5393,7 +5393,7 @@ xact_redo_commit(xl_xact_parsed_commit *parsed,
5393
5393
RecordKnownAssignedTransactionIds (max_xid );
5394
5394
5395
5395
/*
5396
- * Mark the transaction committed in pg_clog . We use async commit
5396
+ * Mark the transaction committed in pg_xact . We use async commit
5397
5397
* protocol during recovery to provide information on database
5398
5398
* consistency for when users try to set hint bits. It is important
5399
5399
* that we do not set hint bits until the minRecoveryPoint is past
@@ -5530,7 +5530,7 @@ xact_redo_abort(xl_xact_parsed_abort *parsed, TransactionId xid)
5530
5530
5531
5531
if (standbyState == STANDBY_DISABLED )
5532
5532
{
5533
- /* Mark the transaction aborted in pg_clog , no need for async stuff */
5533
+ /* Mark the transaction aborted in pg_xact , no need for async stuff */
5534
5534
TransactionIdAbortTree (xid , parsed -> nsubxacts , parsed -> subxacts );
5535
5535
}
5536
5536
else
@@ -5546,7 +5546,7 @@ xact_redo_abort(xl_xact_parsed_abort *parsed, TransactionId xid)
5546
5546
*/
5547
5547
RecordKnownAssignedTransactionIds (max_xid );
5548
5548
5549
- /* Mark the transaction aborted in pg_clog , no need for async stuff */
5549
+ /* Mark the transaction aborted in pg_xact , no need for async stuff */
5550
5550
TransactionIdAbortTree (xid , parsed -> nsubxacts , parsed -> subxacts );
5551
5551
5552
5552
/*
0 commit comments