1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Run pgindent on remaining files now that LOOPBYTE is a usable macro.

This commit is contained in:
Bruce Momjian
2007-11-16 01:12:24 +00:00
parent 0c2c061eb0
commit 5f0bf6cb0d
6 changed files with 44 additions and 44 deletions

View File

@ -115,8 +115,8 @@ gtrgm_compress(PG_FUNCTION_ARGS)
LOOPBYTE
{
if ((sign[i] & 0xff) != 0xff)
PG_RETURN_POINTER(retval);
if ((sign[i] & 0xff) != 0xff)
PG_RETURN_POINTER(retval);
}
len = CALCGTSIZE(SIGNKEY | ALLISTRUE, 0);
@ -137,7 +137,7 @@ gtrgm_decompress(PG_FUNCTION_ARGS)
{
GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
GISTENTRY *retval;
text *key;
text *key;
key = DatumGetTextP(entry->key);
@ -212,7 +212,7 @@ unionkey(BITVECP sbase, TRGM * add)
return 1;
LOOPBYTE
sbase[i] |= sadd[i];
sbase[i] |= sadd[i];
}
else
{
@ -327,7 +327,7 @@ sizebitvec(BITVECP sign)
i;
LOOPBYTE
size += number_of_ones[(unsigned char) sign[i]];
size += number_of_ones[(unsigned char) sign[i]];
return size;
}
@ -394,10 +394,10 @@ typedef struct
{
bool allistrue;
BITVEC sign;
} CACHESIGN;
} CACHESIGN;
static void
fillcache(CACHESIGN * item, TRGM * key)
fillcache(CACHESIGN *item, TRGM * key)
{
item->allistrue = false;
if (ISARRKEY(key))
@ -413,7 +413,7 @@ typedef struct
{
OffsetNumber pos;
int4 cost;
} SPLITCOST;
} SPLITCOST;
static int
comparecost(const void *a, const void *b)
@ -426,7 +426,7 @@ comparecost(const void *a, const void *b)
static int
hemdistcache(CACHESIGN * a, CACHESIGN * b)
hemdistcache(CACHESIGN *a, CACHESIGN *b)
{
if (a->allistrue)
{