Content-Length: 276838 | pFad | http://github.com/postgrespro/postgres_cluster/commit/1924ef41668773ad62d845eebc11ff35f17446ad

31 Reword some unclear comments · postgrespro/postgres_cluster@1924ef4 · GitHub
Skip to content

Commit 1924ef4

Browse files
committed
Reword some unclear comments
1 parent eca2f8a commit 1924ef4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backend/access/heap/heapam.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3930,7 +3930,7 @@ heap_update(Relation relation, ItemPointer otid, HeapTuple newtup,
39303930

39313931
/*
39323932
* To prevent concurrent sessions from updating the tuple, we have to
3933-
* temporarily mark it locked, while we release the lock.
3933+
* temporarily mark it locked, while we release the page-level lock.
39343934
*
39353935
* To satisfy the rule that any xid potentially appearing in a buffer
39363936
* written out to disk, we unfortunately have to WAL log this
@@ -3942,8 +3942,9 @@ heap_update(Relation relation, ItemPointer otid, HeapTuple newtup,
39423942

39433943
/*
39443944
* Compute xmax / infomask appropriate for locking the tuple. This has
3945-
* to be done separately from the lock, because the potentially
3946-
* created multixact would otherwise be wrong.
3945+
* to be done separately from the combo that's going to be used for
3946+
* updating, because the potentially created multixact would otherwise
3947+
* be wrong.
39473948
*/
39483949
compute_new_xmax_infomask(HeapTupleHeaderGetRawXmax(oldtup.t_data),
39493950
oldtup.t_data->t_infomask,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/1924ef41668773ad62d845eebc11ff35f17446ad

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy