Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit66c5bd3

Browse files
Remove obsolete nbtree "get root" comment.
Remove a very old Berkeley era comment that doesn't seem to haveanything to do with the current locking considerations within_bt_getroot().Discussion:https://postgr.es/m/CAH2-WzmA2H+rL-xxF5o6QhMD+9x6cJTnz2Mr3Li_pbPBmqoTBQ@mail.gmail.com
1 parent2b1394f commit66c5bd3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/backend/access/nbtree/nbtpage.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,7 @@ _bt_update_meta_cleanup_info(Relation rel, TransactionId oldestBtpoXact,
266266
*
267267
*Since the root page can move around the btree file, we have to read
268268
*its location from the metadata page, and then read the root page
269-
*itself. If no root page exists yet, we have to create one. The
270-
*standard class of race conditions exists here; I think I covered
271-
*them all in the intricate dance of lock requests below.
269+
*itself. If no root page exists yet, we have to create one.
272270
*
273271
*The access type parameter (BT_READ or BT_WRITE) controls whether
274272
*a new root page will be created or not. If access = BT_READ,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp