mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Fix obsolete nbtree page reuse FSM comment.
Oversight in commit d088ba5a.
This commit is contained in:
@@ -982,9 +982,9 @@ btree_xlog_newroot(XLogReaderState *record)
|
|||||||
* As far as any backend operating during original execution is concerned, the
|
* As far as any backend operating during original execution is concerned, the
|
||||||
* FSM is a cache of recycle-safe pages; the mere presence of the page in the
|
* FSM is a cache of recycle-safe pages; the mere presence of the page in the
|
||||||
* FSM indicates that the page must already be safe to recycle (actually,
|
* FSM indicates that the page must already be safe to recycle (actually,
|
||||||
* _bt_getbuf() verifies it's safe using BTPageIsRecyclable(), but that's just
|
* _bt_allocbuf() verifies it's safe using BTPageIsRecyclable(), but that's
|
||||||
* because it would be unwise to completely trust the FSM, given its current
|
* just because it would be unwise to completely trust the FSM, given its
|
||||||
* limitations).
|
* current limitations).
|
||||||
*
|
*
|
||||||
* This isn't sufficient to prevent similar concurrent recycling race
|
* This isn't sufficient to prevent similar concurrent recycling race
|
||||||
* conditions during Hot Standby, though. For that we need to log a
|
* conditions during Hot Standby, though. For that we need to log a
|
||||||
|
|||||||
Reference in New Issue
Block a user