Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit675fed4

Browse files
committed
Fix indentation in contrib/amcheck/verify_nbtree.c
Reported-by: Michael PaquierDiscussion:https://postgr.es/m/ZT9YoDPEQBUMrIHg%40paquier.xyz
1 parent5b2147d commit675fed4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎contrib/amcheck/verify_nbtree.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,9 +1056,9 @@ bt_entry_unique_check(BtreeCheckState *state, IndexTuple itup,
10561056
}
10571057

10581058
/*
1059-
* Prevent double reporting unique constraint violation between
1060-
* the posting list entries of the first tuple on the page after
1061-
* cross-page check.
1059+
* Prevent double reporting unique constraint violation
1060+
*betweenthe posting list entries of the first tuple on the
1061+
*page aftercross-page check.
10621062
*/
10631063
if (*lVis_block!=targetblock&&ItemPointerIsValid(*lVis_tid))
10641064
return;
@@ -1072,8 +1072,8 @@ bt_entry_unique_check(BtreeCheckState *state, IndexTuple itup,
10721072
}
10731073

10741074
/*
1075-
* Current tuple has no posting list. If TID is visible save info about
1076-
*itfor the next comparisons in the loop in bt_page_check(). Report
1075+
* Current tuple has no posting list. If TID is visible save info about it
1076+
* for the next comparisons in the loop in bt_page_check(). Report
10771077
* duplicate if lVis_tid is already valid.
10781078
*/
10791079
else
@@ -1694,8 +1694,8 @@ bt_target_page_check(BtreeCheckState *state)
16941694
}
16951695

16961696
/*
1697-
* If the index is unique verify entries uniqueness by checking the heap
1698-
* tuples visibility.
1697+
* If the index is unique verify entries uniqueness by checking the
1698+
*heaptuples visibility.
16991699
*/
17001700
if (state->checkunique&&state->indexinfo->ii_Unique&&
17011701
P_ISLEAF(topaque)&& !skey->anynullkeys)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp