aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xact.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-06-08 08:16:38 +0530
committerAmit Kapila <akapila@postgresql.org>2019-06-08 08:16:38 +0530
commit92c4abc73693690ce9ff13ede160f0dcb0a2de7b (patch)
treec1264a8f33374569298e2e72feaeda929adef09e /src/backend/access/transam/xact.c
parent35b2d4bc0eb5d61a2a294ccb6b2e4abdad307604 (diff)
downloadpostgresql-92c4abc73693690ce9ff13ede160f0dcb0a2de7b.tar.gz
postgresql-92c4abc73693690ce9ff13ede160f0dcb0a2de7b.zip
Fix assorted inconsistencies.
There were a number of issues in the recent commits which include typos, code and comments mismatch, leftover function declarations. Fix them. Reported-by: Alexander Lakhin Author: Alexander Lakhin, Amit Kapila and Amit Langote Reviewed-by: Amit Kapila Discussion: https://postgr.es/m/ef0c0232-0c1d-3a35-63d4-0ebd06e31387@gmail.com
Diffstat (limited to 'src/backend/access/transam/xact.c')
-rw-r--r--src/backend/access/transam/xact.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c
index f1108ccc8b7..821652b25b0 100644
--- a/src/backend/access/transam/xact.c
+++ b/src/backend/access/transam/xact.c
@@ -91,8 +91,8 @@ int synchronous_commit = SYNCHRONOUS_COMMIT_ON;
* need to return the same answers in the parallel worker as they would have
* in the user backend, so we need some additional bookkeeping.
*
- * XactTopTransactionId stores the XID of our toplevel transaction, which
- * will be the same as TopTransactionState.transactionId in an ordinary
+ * XactTopFullTransactionId stores the XID of our toplevel transaction, which
+ * will be the same as TopTransactionState.fullTransactionId in an ordinary
* backend; but in a parallel backend, which does not have the entire
* transaction state, it will instead be copied from the backend that started
* the parallel operation.