aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-02-23 08:40:01 +0900
committerMichael Paquier <michael@paquier.xyz>2019-02-23 08:40:01 +0900
commit4c23216002ac816f67fb87301290fa992115215e (patch)
tree5af14654476e01a2338c74f715caf262141c8f69
parentb1086767087efe437131b9059fc6f2d3b7c7ecc2 (diff)
downloadpostgresql-4c23216002ac816f67fb87301290fa992115215e.tar.gz
postgresql-4c23216002ac816f67fb87301290fa992115215e.zip
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
-rw-r--r--src/backend/access/transam/twophase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/twophase.c b/src/backend/access/transam/twophase.c
index 9a8a6bb119c..add979bf0b2 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.