diff options
author | Peter Geoghegan <pg@bowt.ie> | 2018-07-08 10:50:13 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2018-07-08 10:50:13 -0700 |
commit | e915fed291772d8d5fcc437ac777f7beca8c24ce (patch) | |
tree | 3ab537b0fb203367baad594e3009e609d548e388 /src | |
parent | 677da8c15d19c11465d78f18bfd5ceb5d6fc3af1 (diff) | |
download | postgresql-e915fed291772d8d5fcc437ac777f7beca8c24ce.tar.gz postgresql-e915fed291772d8d5fcc437ac777f7beca8c24ce.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/nbtree/nbtinsert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c index 907cce07241..4b2b4746f7f 100644 --- a/src/backend/access/nbtree/nbtinsert.c +++ b/src/backend/access/nbtree/nbtinsert.c @@ -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. |