Content-Length: 258968 | pFad | http://github.com/postgrespro/postgres_cluster/commit/7689d907bbb177fa2a8f5aca3f968761dd16bf28

B0 Fix comment in heapam.c · postgrespro/postgres_cluster@7689d90 · GitHub
Skip to content

Commit 7689d90

Browse files
committed
Fix comment in heapam.c
Improvement per suggestion from Tom Lane. Author: Daniel Gustafsson Discussion: https://postgr.es/m/FED18699-4270-4778-8DA8-10F119A5ECF3@yesql.se
1 parent cebf9d6 commit 7689d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/heap/heapam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2145,7 +2145,7 @@ heap_multi_insert(Relation relation, TupleTableSlot **slots, int ntuples,
21452145
* that check MUST be done at least past the point of acquiring an
21462146
* exclusive buffer content lock on every buffer that will be affected,
21472147
* and MAY be done after all inserts are reflected in the buffers and
2148-
* those locks are released; otherwise there race condition. Since
2148+
* those locks are released; otherwise there is a race condition. Since
21492149
* multiple buffers can be locked and unlocked in the loop below, and it
21502150
* would not be feasible to identify and lock all of those buffers before
21512151
* the loop, we must do a final check at the end.

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/7689d907bbb177fa2a8f5aca3f968761dd16bf28

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy