aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2020-03-19 14:56:56 -0700
committerPeter Geoghegan <pg@bowt.ie>2020-03-19 14:56:56 -0700
commitb27e1b3418b189e1a5aee13cbd09bff94f010a86 (patch)
tree8f538fb17c0eb27f93509d6395b0955dbb4a748f /src
parent2fd6a44ad5744905e9ceacef7aaf698f608e6adb (diff)
downloadpostgresql-b27e1b3418b189e1a5aee13cbd09bff94f010a86.tar.gz
postgresql-b27e1b3418b189e1a5aee13cbd09bff94f010a86.zip
nbtree: Remove obsolete _bt_pgaddtup() comments.
Remove comments that are a throw back to a time when nbtree cared about write-ordering dependencies. The comments are similar to those removed by commit 9ee7414e, among others.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/nbtree/nbtinsert.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c
index 2c3656c1cd3..00df0e1b88f 100644
--- a/src/backend/access/nbtree/nbtinsert.c
+++ b/src/backend/access/nbtree/nbtinsert.c
@@ -2531,11 +2531,6 @@ _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf)
/*
* _bt_pgaddtup() -- add a data item to a particular page during split.
*
- * This routine adds the tuple to the page as requested. It does
- * not affect pin/lock status, but you'd better have a write lock
- * and pin on the target buffer! Don't forget to write and release
- * the buffer afterwards, either.
- *
* The difference between this routine and a bare PageAddItem call is
* that this code knows that the leftmost data item on an internal
* btree page has a key that must be treated as minus infinity.