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)