diff options
| author | Tom Lane | 2019-05-22 16:55:34 +0000 |
|---|---|---|
| committer | Tom Lane | 2019-05-22 16:55:34 +0000 |
| commit | be76af171cdb3e7465c4ef234af403f97ad79b7b (patch) | |
| tree | 1fa62d2b7a6680a4237a1548f7002fa0b234b143 /contrib/amcheck | |
| parent | 66a4bad83aaa6613a45a00a488c04427f9969fb4 (diff) | |
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent.
I thought it would be good to commit this separately,
so as to document the differences between 2.0 and 2.1 behavior.
Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
Diffstat (limited to 'contrib/amcheck')
| -rw-r--r-- | contrib/amcheck/verify_nbtree.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/contrib/amcheck/verify_nbtree.c b/contrib/amcheck/verify_nbtree.c index 2576d4f9e91..c935abc7e09 100644 --- a/contrib/amcheck/verify_nbtree.c +++ b/contrib/amcheck/verify_nbtree.c @@ -160,7 +160,7 @@ static inline bool invariant_l_nontarget_offset(BtreeCheckState *state, OffsetNumber upperbound); static Page palloc_btree_page(BtreeCheckState *state, BlockNumber blocknum); static inline BTScanInsert bt_mkscankey_pivotsearch(Relation rel, - IndexTuple itup); + IndexTuple itup); static ItemId PageGetItemIdCareful(BtreeCheckState *state, BlockNumber block, Page page, OffsetNumber offset); static inline ItemPointer BTreeTupleGetHeapTIDCareful(BtreeCheckState *state, @@ -1029,7 +1029,7 @@ bt_target_page_check(BtreeCheckState *state) /* Fingerprint leaf page tuples (those that point to the heap) */ if (state->heapallindexed && P_ISLEAF(topaque) && !ItemIdIsDead(itemid)) { - IndexTuple norm; + IndexTuple norm; norm = bt_normalize_tuple(state, itup); bloom_add_element(state->filter, (unsigned char *) norm, @@ -1174,7 +1174,7 @@ bt_target_page_check(BtreeCheckState *state) */ else if (offset == max) { - BTScanInsert rightkey; + BTScanInsert rightkey; /* Get item in next/right page */ rightkey = bt_right_page_check_scankey(state); @@ -1851,7 +1851,8 @@ bt_tuple_present_callback(Relation index, HeapTuple htup, Datum *values, bool *isnull, bool tupleIsAlive, void *checkstate) { BtreeCheckState *state = (BtreeCheckState *) checkstate; - IndexTuple itup, norm; + IndexTuple itup, + norm; Assert(state->heapallindexed); @@ -1931,7 +1932,7 @@ bt_normalize_tuple(BtreeCheckState *state, IndexTuple itup) for (i = 0; i < tupleDescriptor->natts; i++) { - Form_pg_attribute att; + Form_pg_attribute att; att = TupleDescAttr(tupleDescriptor, i); |
