Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3be30d0

Browse files
Fix obsolete nbtree page reuse FSM comment.
Oversight in commit d088ba5.
1 parent 93063e2 commit 3be30d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/access/nbtree/nbtxlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -982,9 +982,9 @@ btree_xlog_newroot(XLogReaderState *record)
982982
* As far as any backend operating during original execution is concerned, the
983983
* FSM is a cache of recycle-safe pages; the mere presence of the page in the
984984
* FSM indicates that the page must already be safe to recycle (actually,
985-
* _bt_getbuf() verifies it's safe using BTPageIsRecyclable(), but that's just
986-
* because it would be unwise to completely trust the FSM, given its current
987-
* limitations).
985+
* _bt_allocbuf() verifies it's safe using BTPageIsRecyclable(), but that's
986+
* just because it would be unwise to completely trust the FSM, given its
987+
* current limitations).
988988
*
989989
* This isn't sufficient to prevent similar concurrent recycling race
990990
* conditions during Hot Standby, though. For that we need to log a

0 commit comments

Comments
 (0)