mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Move _bt_upgrademetapage() into critical section.
Any changes on page should be done in critical section, so move
_bt_upgrademetapage into critical section. Improve comment. Found by Amit
Kapila during post-commit review of 857f9c36
.
Author: Amit Kapila
This commit is contained in:
@ -103,7 +103,7 @@ typedef struct BTMetaPageData
|
||||
BlockNumber btm_fastroot; /* current "fast" root location */
|
||||
uint32 btm_fastlevel; /* tree level of the "fast" root page */
|
||||
/* following fields are available since page version 3 */
|
||||
TransactionId btm_oldest_btpo_xact; /* oldest btpo_xact among of deleted
|
||||
TransactionId btm_oldest_btpo_xact; /* oldest btpo_xact among all deleted
|
||||
* pages */
|
||||
float8 btm_last_cleanup_num_heap_tuples; /* number of heap tuples
|
||||
* during last cleanup */
|
||||
|
Reference in New Issue
Block a user