postgres.git / summary / log / commit / refs
commit 675fed4df5db4e78d40a0ce9cb785cfba9fa480f
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: Mon Oct 30 08:34:15 2023 +0000
First released in: 17.0
Fix indentation in contrib/amcheck/verify_nbtree.c
Reported-by: Michael Paquier
Discussion: https://postgr.es/m/ZT9YoDPEQBUMrIHg%40paquier.xyz
contrib/amcheck/verify_nbtree.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/contrib/amcheck/verify_nbtree.c b/contrib/amcheck/verify_nbtree.c
index 7282cf7fc80..877452f38c6 100644
--- a/contrib/amcheck/verify_nbtree.c
+++ b/contrib/amcheck/verify_nbtree.c
@@ -1056,9 +1056,9 @@ bt_entry_unique_check(BtreeCheckState *state, IndexTuple itup,
}
/*
- * Prevent double reporting unique constraint violation between
- * the posting list entries of the first tuple on the page after
- * cross-page check.
+ * Prevent double reporting unique constraint violation
+ * between the posting list entries of the first tuple on the
+ * page after cross-page check.
*/
if (*lVis_block != targetblock && ItemPointerIsValid(*lVis_tid))
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
- * it for the next comparisons in the loop in bt_page_check(). Report
+ * Current tuple has no posting list. If TID is visible save info about it
+ * for the next comparisons in the loop in bt_page_check(). Report
* duplicate if lVis_tid is already valid.
*/
else
@@ -1694,8 +1694,8 @@ bt_target_page_check(BtreeCheckState *state)
}
/*
- * If the index is unique verify entries uniqueness by checking the heap
- * tuples visibility.
+ * If the index is unique verify entries uniqueness by checking the
+ * heap tuples visibility.
*/
if (state->checkunique && state->indexinfo->ii_Unique &&
P_ISLEAF(topaque) && !skey->anynullkeys)
[parent: 5b2147d9fcc1]