summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2018-05-30 19:45:39 +0300
committerTeodor Sigaev <teodor@sigaev.ru>2018-05-30 19:45:39 +0300
commit08186dc05b3eed9c1f29b3349b122487d84ef3eb (patch)
tree9287f13a5243d46f8d2c70ee936e8b255e5d97ef /src/include
parent3c9cf069454d80b0b4a54a0a90941a88a97b1122 (diff)
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/nbtree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/nbtree.h b/src/include/access/nbtree.h
index 15a7b4c212e..04ecb4cbc0f 100644
--- a/src/include/access/nbtree.h
+++ b/src/include/access/nbtree.h
@@ -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 */