diff options
author | Peter Geoghegan <pg@bowt.ie> | 2019-07-01 22:28:08 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2019-07-01 22:28:08 -0700 |
commit | 66c5bd3a6fd8a4c317412838ab3870ab251833b6 (patch) | |
tree | 1278a4891c9fd86ef0496d937e1b8835ce15342b /src | |
parent | 2b1394fc2b52a2573d08aa626e7b49568f27464e (diff) | |
download | postgresql-66c5bd3a6fd8a4c317412838ab3870ab251833b6.tar.gz postgresql-66c5bd3a6fd8a4c317412838ab3870ab251833b6.zip |
Remove obsolete nbtree "get root" comment.
Remove a very old Berkeley era comment that doesn't seem to have
anything to do with the current locking considerations within
_bt_getroot().
Discussion: https://postgr.es/m/CAH2-WzmA2H+rL-xxF5o6QhMD+9x6cJTnz2Mr3Li_pbPBmqoTBQ@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/nbtree/nbtpage.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/access/nbtree/nbtpage.c b/src/backend/access/nbtree/nbtpage.c index 03570300d89..50455db9af4 100644 --- a/src/backend/access/nbtree/nbtpage.c +++ b/src/backend/access/nbtree/nbtpage.c @@ -266,9 +266,7 @@ _bt_update_meta_cleanup_info(Relation rel, TransactionId oldestBtpoXact, * * Since the root page can move around the btree file, we have to read * its location from the metadata page, and then read the root page - * itself. If no root page exists yet, we have to create one. The - * standard class of race conditions exists here; I think I covered - * them all in the intricate dance of lock requests below. + * itself. If no root page exists yet, we have to create one. * * The access type parameter (BT_READ or BT_WRITE) controls whether * a new root page will be created or not. If access = BT_READ, |