]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
amcheck: Fix indentation in verify_gin.c
authorTomas Vondra <tomas.vondra@postgresql.org>
Sat, 29 Mar 2025 15:42:13 +0000 (16:42 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sat, 29 Mar 2025 15:47:44 +0000 (16:47 +0100)
I forgot to reindent the code after a couple last-minute adjustments
just before committing 14ffaece0fb53fed8ddbc46d2b353e1c4834863a.

Discussion: https://postgr.es/m/45AC9B0A-2B45-40EE-B08F-BDCF5739D1E1%40yandex-team.ru

contrib/amcheck/verify_gin.c

index 670f53637d47eed5c521b85ead15dfb46172df2b..b752448e7983f557ae584dc46651247d8288fb67 100644 (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))