From a4cfeeca5a97f2b5969c31aa69ba775af95ee5a3 Mon Sep 17 00:00:00 2001 From: Tomas Vondra Date: Mon, 3 Jul 2023 12:38:30 +0200 Subject: [PATCH] Fix code indentation violations Commits ce5aaea8cd, 2b8b2852bb 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 | 14 +++++++------- src/backend/commands/trigger.c | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/backend/access/brin/brin_bloom.c b/src/backend/access/brin/brin_bloom.c index f47eb81012d..56534cf29cc 100644 --- a/src/backend/access/brin/brin_bloom.c +++ b/src/backend/access/brin/brin_bloom.c @@ -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); diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c index 993c0dbd149..52177759ab5 100644 --- a/src/backend/commands/trigger.c +++ b/src/backend/commands/trigger.c @@ -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;