mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
pgindent run for 8.3.
This commit is contained in:
@ -57,16 +57,17 @@ ginint4_queryextract(PG_FUNCTION_ARGS)
|
||||
}
|
||||
}
|
||||
|
||||
if ( nentries == 0 )
|
||||
if (nentries == 0)
|
||||
{
|
||||
switch( strategy )
|
||||
switch (strategy)
|
||||
{
|
||||
case BooleanSearchStrategy:
|
||||
case RTOverlapStrategyNumber:
|
||||
*nentries = -1; /* nobody can be found */
|
||||
break;
|
||||
default: /* require fullscan: GIN can't find void arrays */
|
||||
break;
|
||||
*nentries = -1; /* nobody can be found */
|
||||
break;
|
||||
default: /* require fullscan: GIN can't find void
|
||||
* arrays */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -233,10 +233,11 @@ g_int_decompress(PG_FUNCTION_ARGS)
|
||||
CHECKARRVALID(in);
|
||||
if (ARRISVOID(in))
|
||||
{
|
||||
if (in != (ArrayType *) DatumGetPointer(entry->key)) {
|
||||
if (in != (ArrayType *) DatumGetPointer(entry->key))
|
||||
{
|
||||
retval = palloc(sizeof(GISTENTRY));
|
||||
gistentryinit(*retval, PointerGetDatum(in),
|
||||
entry->rel, entry->page, entry->offset, FALSE);
|
||||
entry->rel, entry->page, entry->offset, FALSE);
|
||||
PG_RETURN_POINTER(retval);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user