diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-01-13 17:57:38 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-01-13 17:57:38 +0900 |
commit | 7689d907bbb177fa2a8f5aca3f968761dd16bf28 (patch) | |
tree | 03d2498955150a3eb12fd5c930689478d8446a45 | |
parent | cebf9d6e6ee13cbf9f1a91ec633cf96780ffc985 (diff) | |
download | postgresql-7689d907bbb177fa2a8f5aca3f968761dd16bf28.tar.gz postgresql-7689d907bbb177fa2a8f5aca3f968761dd16bf28.zip |
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
-rw-r--r-- | src/backend/access/heap/heapam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 7b8490d4e52..5ddb6e85e97 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -2145,7 +2145,7 @@ heap_multi_insert(Relation relation, TupleTableSlot **slots, int ntuples, * that check MUST be done at least past the point of acquiring an * exclusive buffer content lock on every buffer that will be affected, * and MAY be done after all inserts are reflected in the buffers and - * those locks are released; otherwise there race condition. Since + * those locks are released; otherwise there is a race condition. Since * multiple buffers can be locked and unlocked in the loop below, and it * would not be feasible to identify and lock all of those buffers before * the loop, we must do a final check at the end. |