From: Michael Paquier Date: Fri, 22 Feb 2019 23:40:01 +0000 (+0900) Subject: Fix incorrect function reference in comment of twophase.c X-Git-Tag: REL_12_BETA1~683 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c23216002ac816f67fb87301290fa992115215e;p=postgresql Fix incorrect function reference in comment of twophase.c The header block of TwoPhaseGetDummyBackendId mentioned incorrectly TwoPhaseGetDummyProc. Reported-by: Oleksii Kliukin Discussion: https://postgr.es/m/D8336E40-BBE1-4954-98BB-7830D3F5CB36@hintbits.com --- diff --git a/src/backend/access/transam/twophase.c b/src/backend/access/transam/twophase.c index 9a8a6bb119..add979bf0b 100644 --- a/src/backend/access/transam/twophase.c +++ b/src/backend/access/transam/twophase.c @@ -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.