@@ -126,45 +126,45 @@ PG_FUNCTION_INFO_V1(bt_index_check);
126
126
PG_FUNCTION_INFO_V1 (bt_index_parent_check );
127
127
128
128
static void bt_index_check_internal (Oid indrelid ,bool parentcheck ,
129
- bool heapallindexed ,bool rootdescend );
129
+ bool heapallindexed ,bool rootdescend );
130
130
static inline void btree_index_checkable (Relation rel );
131
131
static void bt_check_every_level (Relation rel ,Relation heaprel ,
132
- bool heapkeyspace ,bool readonly ,bool heapallindexed ,
133
- bool rootdescend );
132
+ bool heapkeyspace ,bool readonly ,bool heapallindexed ,
133
+ bool rootdescend );
134
134
static BtreeLevel bt_check_level_from_leftmost (BtreeCheckState * state ,
135
- BtreeLevel level );
135
+ BtreeLevel level );
136
136
static void bt_target_page_check (BtreeCheckState * state );
137
137
static BTScanInsert bt_right_page_check_scankey (BtreeCheckState * state );
138
138
static void bt_downlink_check (BtreeCheckState * state ,BTScanInsert targetkey ,
139
- BlockNumber childblock );
139
+ BlockNumber childblock );
140
140
static void bt_downlink_missing_check (BtreeCheckState * state );
141
141
static void bt_tuple_present_callback (Relation index ,HeapTuple htup ,
142
- Datum * values ,bool * isnull ,
143
- bool tupleIsAlive ,void * checkstate );
142
+ Datum * values ,bool * isnull ,
143
+ bool tupleIsAlive ,void * checkstate );
144
144
static IndexTuple bt_normalize_tuple (BtreeCheckState * state ,
145
- IndexTuple itup );
145
+ IndexTuple itup );
146
146
static bool bt_rootdescend (BtreeCheckState * state ,IndexTuple itup );
147
147
static inline bool offset_is_negative_infinity (BTPageOpaque opaque ,
148
- OffsetNumber offset );
148
+ OffsetNumber offset );
149
149
static inline bool invariant_l_offset (BtreeCheckState * state ,BTScanInsert key ,
150
- OffsetNumber upperbound );
150
+ OffsetNumber upperbound );
151
151
static inline bool invariant_leq_offset (BtreeCheckState * state ,
152
- BTScanInsert key ,
153
- OffsetNumber upperbound );
152
+ BTScanInsert key ,
153
+ OffsetNumber upperbound );
154
154
static inline bool invariant_g_offset (BtreeCheckState * state ,BTScanInsert key ,
155
- OffsetNumber lowerbound );
155
+ OffsetNumber lowerbound );
156
156
static inline bool invariant_l_nontarget_offset (BtreeCheckState * state ,
157
- BTScanInsert key ,
158
- BlockNumber nontargetblock ,
159
- Page nontarget ,
160
- OffsetNumber upperbound );
157
+ BTScanInsert key ,
158
+ BlockNumber nontargetblock ,
159
+ Page nontarget ,
160
+ OffsetNumber upperbound );
161
161
static Page palloc_btree_page (BtreeCheckState * state ,BlockNumber blocknum );
162
162
static inline BTScanInsert bt_mkscankey_pivotsearch (Relation rel ,
163
- IndexTuple itup );
163
+ IndexTuple itup );
164
164
static ItemId PageGetItemIdCareful (BtreeCheckState * state ,BlockNumber block ,
165
- Page page ,OffsetNumber offset );
165
+ Page page ,OffsetNumber offset );
166
166
static inline ItemPointer BTreeTupleGetHeapTIDCareful (BtreeCheckState * state ,
167
- IndexTuple itup ,bool nonpivot );
167
+ IndexTuple itup ,bool nonpivot );
168
168
169
169
/*
170
170
* bt_index_check(index regclass, heapallindexed boolean)