Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e915fed

Browse files
Correct obsolete unique index insertion comment.
Commit bc29293 failed to update a comment about unique index checking. _bt_insertonpg() is no longer responsible for finding an insertion location while preventing conflicting insertions.
1 parent 677da8c commit e915fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/nbtree/nbtinsert.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ _bt_doinsert(Relation rel, IndexTuple itup,
247247
* inserter can be making the check at one time. Furthermore, once we are
248248
* past the check we hold write locks continuously until we have performed
249249
* our insertion, so no later inserter can fail to see our insertion.
250-
* (This requires some care in _bt_insertonpg.)
250+
* (This requires some care in _bt_findinsertloc.)
251251
*
252252
* If we must wait for another xact, we release the lock while waiting,
253253
* and then must start over completely.

0 commit comments

Comments
 (0)