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
This commit is contained in:
parent
6d56c501a7
commit
a4cfeeca5a
@ -274,9 +274,9 @@ static void
|
|||||||
bloom_filter_size(int ndistinct, double false_positive_rate,
|
bloom_filter_size(int ndistinct, double false_positive_rate,
|
||||||
int *nbytesp, int *nbitsp, int *nhashesp)
|
int *nbytesp, int *nbitsp, int *nhashesp)
|
||||||
{
|
{
|
||||||
double k;
|
double k;
|
||||||
int nbits,
|
int nbits,
|
||||||
nbytes;
|
nbytes;
|
||||||
|
|
||||||
/* sizing bloom filter: -(n * ln(p)) / (ln(2))^2 */
|
/* sizing bloom filter: -(n * ln(p)) / (ln(2))^2 */
|
||||||
nbits = ceil(-(ndistinct * log(false_positive_rate)) / pow(log(2.0), 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);
|
Assert(filter);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Assume all scan keys match. We'll be searching for a scan key eliminating
|
* Assume all scan keys match. We'll be searching for a scan key
|
||||||
* the page range (we can stop on the first such key).
|
* eliminating the page range (we can stop on the first such key).
|
||||||
*/
|
*/
|
||||||
matches = true;
|
matches = true;
|
||||||
|
|
||||||
@ -636,8 +636,8 @@ brin_bloom_consistent(PG_FUNCTION_ARGS)
|
|||||||
case BloomEqualStrategyNumber:
|
case BloomEqualStrategyNumber:
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We want to return the current page range if the bloom filter
|
* We want to return the current page range if the bloom
|
||||||
* seems to contain the value.
|
* filter seems to contain the value.
|
||||||
*/
|
*/
|
||||||
finfo = bloom_get_procinfo(bdesc, attno, PROCNUM_HASH);
|
finfo = bloom_get_procinfo(bdesc, attno, PROCNUM_HASH);
|
||||||
|
|
||||||
|
@ -3986,8 +3986,8 @@ afterTriggerCheckState(AfterTriggerShared evtshared)
|
|||||||
static Bitmapset *
|
static Bitmapset *
|
||||||
afterTriggerCopyBitmap(Bitmapset *src)
|
afterTriggerCopyBitmap(Bitmapset *src)
|
||||||
{
|
{
|
||||||
Bitmapset *dst;
|
Bitmapset *dst;
|
||||||
MemoryContext oldcxt;
|
MemoryContext oldcxt;
|
||||||
|
|
||||||
if (src == NULL)
|
if (src == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user