Fix code indentation violations
authorTomas Vondra <tomas.vondra@postgresql.org>
Mon, 3 Jul 2023 10:38:30 +0000 (12:38 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Mon, 3 Jul 2023 10:47:49 +0000 (12:47 +0200)
Commits ce5aaea8cd2b8b2852bb and 28d03feac3 violated the expected code
indentation rules, upsetting the new buildfarm member "koel."

Discussion: https://postgr.es/m/ZKIU4mhWpgJOM0W0%40paquier.xyz

src/backend/access/brin/brin_bloom.c
src/backend/commands/trigger.c

index f47eb81012d3ad832a5116330b44288669307241..56534cf29ccc8237349dc8f6e04eaf890d6dfc41 100644 (file)
@@ -274,9 +274,9 @@ static void
 bloom_filter_size(int ndistinct, double false_positive_rate,
                  int *nbytesp, int *nbitsp, int *nhashesp)
 {
-   double  k;
-   int     nbits,
-           nbytes;
+   double      k;
+   int         nbits,
+               nbytes;
 
    /* sizing bloom filter: -(n * ln(p)) / (ln(2))^2 */
    nbits = ceil(-(ndistinct * log(false_positive_rate)) / pow(log(2.0), 2));
@@ -616,8 +616,8 @@ brin_bloom_consistent(PG_FUNCTION_ARGS)
    Assert(filter);
 
    /*
-    * Assume all scan keys match. We'll be searching for a scan key eliminating
-    * the page range (we can stop on the first such key).
+    * Assume all scan keys match. We'll be searching for a scan key
+    * eliminating the page range (we can stop on the first such key).
     */
    matches = true;
 
@@ -636,8 +636,8 @@ brin_bloom_consistent(PG_FUNCTION_ARGS)
            case BloomEqualStrategyNumber:
 
                /*
-                * We want to return the current page range if the bloom filter
-                * seems to contain the value.
+                * We want to return the current page range if the bloom
+                * filter seems to contain the value.
                 */
                finfo = bloom_get_procinfo(bdesc, attno, PROCNUM_HASH);
 
index 993c0dbd149a85e6a1282c2901cfcd61989a2579..52177759ab52275879ca95bfdab46d641256ba39 100644 (file)
@@ -3986,8 +3986,8 @@ afterTriggerCheckState(AfterTriggerShared evtshared)
 static Bitmapset *
 afterTriggerCopyBitmap(Bitmapset *src)
 {
-   Bitmapset      *dst;
-   MemoryContext   oldcxt;
+   Bitmapset  *dst;
+   MemoryContext oldcxt;
 
    if (src == NULL)
        return NULL;