Fix typo in multixact.c
authorMichael Paquier <[email protected]>
Thu, 8 Oct 2020 05:06:12 +0000 (14:06 +0900)
committerMichael Paquier <[email protected]>
Thu, 8 Oct 2020 05:06:12 +0000 (14:06 +0900)
AtEOXact_MultiXact() was referenced in two places with an incorrect
routine name.

Author: Hou Zhijie
Discussion: https://postgr.es/m/1b41e9311e8f474cb5a360292f0b3cb1@G08CNEXMBPEKD05.g08.fujitsu.local

src/backend/access/transam/multixact.c

index a2ce617c8ce2b0094aba00d973bcbb54b9463cbf..6ccdc5b58cba7780148d28cbd67a745885f23764 100644 (file)
@@ -1742,7 +1742,7 @@ PostPrepare_MultiXact(TransactionId xid)
    OldestVisibleMXactId[MyBackendId] = InvalidMultiXactId;
 
    /*
-    * Discard the local MultiXactId cache like in AtEOX_MultiXact
+    * Discard the local MultiXactId cache like in AtEOXact_MultiXact.
     */
    MXactContext = NULL;
    dlist_init(&MXactCache);
@@ -1772,7 +1772,7 @@ multixact_twophase_recover(TransactionId xid, uint16 info,
 
 /*
  * multixact_twophase_postcommit
- *     Similar to AtEOX_MultiXact but for COMMIT PREPARED
+ *     Similar to AtEOXact_MultiXact but for COMMIT PREPARED
  */
 void
 multixact_twophase_postcommit(TransactionId xid, uint16 info,