aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-08-20 16:04:09 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-08-20 16:04:09 -0400
commitf8cf524da15ec4d8fad26aeff44af9928d30eb3d (patch)
tree605c23c473e55b021febb8ba495bee7363524846 /src
parent56f8f9624ba050c7c47dd97547b7fafb866f2bdd (diff)
downloadpostgresql-f8cf524da15ec4d8fad26aeff44af9928d30eb3d.tar.gz
postgresql-f8cf524da15ec4d8fad26aeff44af9928d30eb3d.zip
Fix bogus comment
Author: Alexander Lakhin Discussion: https://postgr.es/m/20190819072244.GE18166@paquier.xyz
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/heap/heapam.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 718f07f4f65..cb811d345a1 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -3165,9 +3165,10 @@ l2:
* Note that the multixact may not be done by now. It could have
* surviving members; our own xact or other subxacts of this
* backend, and also any other concurrent transaction that locked
- * the tuple with KeyShare if we only got TupleLockUpdate. If
- * this is the case, we have to be careful to mark the updated
- * tuple with the surviving members in Xmax.
+ * the tuple with LockTupleKeyShare if we only got
+ * LockTupleNoKeyExclusive. If this is the case, we have to be
+ * careful to mark the updated tuple with the surviving members in
+ * Xmax.
*
* Note that there could have been another update in the
* MultiXact. In that case, we need to check whether it committed