aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2018-07-08 10:50:13 -0700
committerPeter Geoghegan <pg@bowt.ie>2018-07-08 10:50:13 -0700
commite915fed291772d8d5fcc437ac777f7beca8c24ce (patch)
tree3ab537b0fb203367baad594e3009e609d548e388 /src
parent677da8c15d19c11465d78f18bfd5ceb5d6fc3af1 (diff)
downloadpostgresql-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.c2
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.