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

Commitec4327d

Browse files
committed
amcheck: Fix indentation in verify_gin.c
I forgot to reindent the code after a couple last-minute adjustmentsjust before committing14ffaec.Discussion:https://postgr.es/m/45AC9B0A-2B45-40EE-B08F-BDCF5739D1E1%40yandex-team.ru
1 parent116e851 commitec4327d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎contrib/amcheck/verify_gin.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,10 @@ gin_check_posting_tree_parent_keys_consistency(Relation rel, BlockNumber posting
281281
bound=*GinDataPageGetRightBound(page);
282282

283283
/*
284-
* Gin page right bound has a sane value only when not a highkey on
285-
* the rightmost page (at a given level). For the rightmost page does
286-
* not store the highkey explicitly, and the value is infinity.
284+
* Gin page right bound has a sane value only when not a highkey
285+
* on the rightmost page (at a given level). For the rightmost
286+
* page does not store the highkey explicitly, and the value is
287+
* infinity.
287288
*/
288289
if (ItemPointerIsValid(&stack->parentkey)&&
289290
rightlink!=InvalidBlockNumber&&
@@ -531,8 +532,8 @@ gin_check_parent_keys_consistency(Relation rel,
531532
* for high key on rightmost page, as this key is not really
532533
* stored explicitly.
533534
*
534-
* Also make sure to not compare entries for different attnums, which
535-
* may be stored on the same page.
535+
* Also make sure to not compare entries for different attnums,
536+
*whichmay be stored on the same page.
536537
*/
537538
if (i!=FirstOffsetNumber&&attnum==prev_attnum&&stack->blkno!=GIN_ROOT_BLKNO&&
538539
!(i==maxoff&&rightlink==InvalidBlockNumber))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp