44 #define MAX_MAYBE_ENTRIES 4
52 key->recheckCurItem =
false;
71 key->recheckCurItem =
true;
123 key->recheckCurItem =
true;
128 key->recheckCurItem =
false;
152 bool recheck =
false;
161 for (
i = 0;
i <
key->nentries;
i++)
167 maybeEntries[nmaybe++] =
i;
179 for (
i = 0;
i < nmaybe;
i++)
186 for (
i = 0;
i < nmaybe;
i++)
200 recheck |=
key->recheckCurItem;
202 if (curResult != boolResult)
207 if (curResult ==
GIN_TRUE && recheck)
#define OidIsValid(objectId)
Datum FunctionCall8Coll(FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7, Datum arg8)
Datum FunctionCall7Coll(FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7)
#define GIN_SEARCH_MODE_EVERYTHING
static GinTernaryValue DatumGetGinTernaryValue(Datum X)
static GinTernaryValue trueTriConsistentFn(GinScanKey key)
static GinTernaryValue shimTriConsistentFn(GinScanKey key)
static GinTernaryValue directTriConsistentFn(GinScanKey key)
static bool trueConsistentFn(GinScanKey key)
static bool directBoolConsistentFn(GinScanKey key)
void ginInitConsistentFunction(GinState *ginstate, GinScanKey key)
#define MAX_MAYBE_ENTRIES
static bool shimBoolConsistentFn(GinScanKey key)
static bool DatumGetBool(Datum X)
static Datum PointerGetDatum(const void *X)
static Datum UInt16GetDatum(uint16 X)
static Datum UInt32GetDatum(uint32 X)
FmgrInfo triConsistentFn[INDEX_MAX_KEYS]
FmgrInfo consistentFn[INDEX_MAX_KEYS]
Oid supportCollation[INDEX_MAX_KEYS]