1
0
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:
Peter Geoghegan 2018-07-08 10:50:13 -07:00
parent 677da8c15d
commit e915fed291

View File

@ -247,7 +247,7 @@ top:
* inserter can be making the check at one time. Furthermore, once we are * 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 * past the check we hold write locks continuously until we have performed
* our insertion, so no later inserter can fail to see our insertion. * 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, * If we must wait for another xact, we release the lock while waiting,
* and then must start over completely. * and then must start over completely.