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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy