1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-21 12:05:57 +03:00

Fix indentation in contrib/amcheck/verify_nbtree.c

Reported-by: Michael Paquier
Discussion: https://postgr.es/m/ZT9YoDPEQBUMrIHg%40paquier.xyz
This commit is contained in:
Alexander Korotkov 2023-10-30 10:34:15 +02:00
parent 5b2147d9fc
commit 675fed4df5

View File

@ -1056,9 +1056,9 @@ bt_entry_unique_check(BtreeCheckState *state, IndexTuple itup,
} }
/* /*
* Prevent double reporting unique constraint violation between * Prevent double reporting unique constraint violation
* the posting list entries of the first tuple on the page after * between the posting list entries of the first tuple on the
* cross-page check. * page after cross-page check.
*/ */
if (*lVis_block != targetblock && ItemPointerIsValid(*lVis_tid)) if (*lVis_block != targetblock && ItemPointerIsValid(*lVis_tid))
return; return;
@ -1072,8 +1072,8 @@ bt_entry_unique_check(BtreeCheckState *state, IndexTuple itup,
} }
/* /*
* Current tuple has no posting list. If TID is visible save info about * Current tuple has no posting list. If TID is visible save info about it
* it for the next comparisons in the loop in bt_page_check(). Report * for the next comparisons in the loop in bt_page_check(). Report
* duplicate if lVis_tid is already valid. * duplicate if lVis_tid is already valid.
*/ */
else else
@ -1694,8 +1694,8 @@ bt_target_page_check(BtreeCheckState *state)
} }
/* /*
* If the index is unique verify entries uniqueness by checking the heap * If the index is unique verify entries uniqueness by checking the
* tuples visibility. * heap tuples visibility.
*/ */
if (state->checkunique && state->indexinfo->ii_Unique && if (state->checkunique && state->indexinfo->ii_Unique &&
P_ISLEAF(topaque) && !skey->anynullkeys) P_ISLEAF(topaque) && !skey->anynullkeys)