From: Alvaro Herrera Date: Tue, 8 Aug 2017 22:46:16 +0000 (-0400) Subject: Reword some unclear comments X-Git-Tag: REL9_5_9~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cc510fe89a3f013091bf7234ca893ba74a15094;p=postgresql Reword some unclear comments --- diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 23139e46cb..e6caa4e9b6 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -3706,7 +3706,7 @@ l2: /* * To prevent concurrent sessions from updating the tuple, we have to - * temporarily mark it locked, while we release the lock. + * temporarily mark it locked, while we release the page-level lock. * * To satisfy the rule that any xid potentially appearing in a buffer * written out to disk, we unfortunately have to WAL log this @@ -3718,8 +3718,9 @@ l2: /* * Compute xmax / infomask appropriate for locking the tuple. This has - * to be done separately from the lock, because the potentially - * created multixact would otherwise be wrong. + * to be done separately from the combo that's going to be used for + * updating, because the potentially created multixact would otherwise + * be wrong. */ compute_new_xmax_infomask(HeapTupleHeaderGetRawXmax(oldtup.t_data), oldtup.t_data->t_infomask,