Content-Length: 258614 | pFad | http://github.com/postgrespro/postgres_cluster/commit/e915fed291772d8d5fcc437ac777f7beca8c24ce

DE Correct obsolete unique index insertion comment. · postgrespro/postgres_cluster@e915fed · GitHub
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)








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/e915fed291772d8d5fcc437ac777f7beca8c24ce

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy