mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Correct obsolete unique index insertion comment.
Commit bc292937ae6 failed to update a comment about unique index checking. _bt_insertonpg() is no longer responsible for finding an insertion location while preventing conflicting insertions.
This commit is contained in:
parent
677da8c15d
commit
e915fed291
@ -247,7 +247,7 @@ top:
|
||||
* inserter can be making the check at one time. Furthermore, once we are
|
||||
* past the check we hold write locks continuously until we have performed
|
||||
* our insertion, so no later inserter can fail to see our insertion.
|
||||
* (This requires some care in _bt_insertonpg.)
|
||||
* (This requires some care in _bt_findinsertloc.)
|
||||
*
|
||||
* If we must wait for another xact, we release the lock while waiting,
|
||||
* and then must start over completely.
|
||||
|
Loading…
x
Reference in New Issue
Block a user