]> granicus.if.org Git - postgresql/commitdiff
Fix incorrect function reference in comment of twophase.c
authorMichael Paquier <michael@paquier.xyz>
Fri, 22 Feb 2019 23:40:01 +0000 (08:40 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 22 Feb 2019 23:40:01 +0000 (08:40 +0900)
The header block of TwoPhaseGetDummyBackendId mentioned incorrectly
TwoPhaseGetDummyProc.

Reported-by: Oleksii Kliukin
Discussion: https://postgr.es/m/D8336E40-BBE1-4954-98BB-7830D3F5CB36@hintbits.com

src/backend/access/transam/twophase.c

index 9a8a6bb119cb8976014a2994dbd49656be0dc1bc..add979bf0b2243b4c3d1093032457ebef5e2e801 100644 (file)
@@ -844,7 +844,7 @@ TwoPhaseGetGXact(TransactionId xid)
 }
 
 /*
- * TwoPhaseGetDummyProc
+ * TwoPhaseGetDummyBackendId
  *             Get the dummy backend ID for prepared transaction specified by XID
  *
  * Dummy backend IDs are similar to real backend IDs of real backends.