1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

amcheck: Fix indentation in verify_gin.c

I forgot to reindent the code after a couple last-minute adjustments
just before committing 14ffaece0f.

Discussion: https://postgr.es/m/45AC9B0A-2B45-40EE-B08F-BDCF5739D1E1%40yandex-team.ru
This commit is contained in:
Tomas Vondra
2025-03-29 16:42:13 +01:00
parent 116e851db5
commit ec4327d106

View File

@ -281,9 +281,10 @@ gin_check_posting_tree_parent_keys_consistency(Relation rel, BlockNumber posting
bound = *GinDataPageGetRightBound(page);
/*
* Gin page right bound has a sane value only when not a highkey on
* the rightmost page (at a given level). For the rightmost page does
* not store the highkey explicitly, and the value is infinity.
* Gin page right bound has a sane value only when not a highkey
* on the rightmost page (at a given level). For the rightmost
* page does not store the highkey explicitly, and the value is
* infinity.
*/
if (ItemPointerIsValid(&stack->parentkey) &&
rightlink != InvalidBlockNumber &&
@ -531,8 +532,8 @@ gin_check_parent_keys_consistency(Relation rel,
* for high key on rightmost page, as this key is not really
* stored explicitly.
*
* Also make sure to not compare entries for different attnums, which
* may be stored on the same page.
* Also make sure to not compare entries for different attnums,
* which may be stored on the same page.
*/
if (i != FirstOffsetNumber && attnum == prev_attnum && stack->blkno != GIN_ROOT_BLKNO &&
!(i == maxoff && rightlink == InvalidBlockNumber))