aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2023-07-03 12:38:30 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2023-07-03 12:47:49 +0200
commita4cfeeca5a97f2b5969c31aa69ba775af95ee5a3 (patch)
treef1ee956564db46649946540a2cfd0208b3f4b540 /src
parent6d56c501a75fe0fd0b7104b3efee55e1cea8e80a (diff)
downloadpostgresql-a4cfeeca5a97f2b5969c31aa69ba775af95ee5a3.tar.gz
postgresql-a4cfeeca5a97f2b5969c31aa69ba775af95ee5a3.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/brin/brin_bloom.c14
-rw-r--r--src/backend/commands/trigger.c4
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;