PostgreSQL Source Code
git master
|
Go to the source code of this file.
Macros | |
#define | MAX_MAYBE_ENTRIES 4 |
Functions | |
static bool | trueConsistentFn (GinScanKey key) |
static GinTernaryValue | trueTriConsistentFn (GinScanKey key) |
static bool | directBoolConsistentFn (GinScanKey key) |
static GinTernaryValue | directTriConsistentFn (GinScanKey key) |
static bool | shimBoolConsistentFn (GinScanKey key) |
static GinTernaryValue | shimTriConsistentFn (GinScanKey key) |
void | ginInitConsistentFunction (GinState *ginstate, GinScanKey key) |
#define MAX_MAYBE_ENTRIES 4 |
Definition at line 44 of file ginlogic.c.
|
static |
Definition at line 65 of file ginlogic.c.
References DatumGetBool(), FunctionCall8Coll(), sort-test::key, PointerGetDatum(), UInt16GetDatum(), and UInt32GetDatum().
Referenced by ginInitConsistentFunction(), and shimTriConsistentFn().
|
static |
Definition at line 89 of file ginlogic.c.
References DatumGetGinTernaryValue(), FunctionCall7Coll(), sort-test::key, PointerGetDatum(), UInt16GetDatum(), and UInt32GetDatum().
Referenced by ginInitConsistentFunction().
void ginInitConsistentFunction | ( | GinState * | ginstate, |
GinScanKey | key | ||
) |
Definition at line 217 of file ginlogic.c.
References GinState::consistentFn, directBoolConsistentFn(), directTriConsistentFn(), FmgrInfo::fn_oid, GIN_SEARCH_MODE_EVERYTHING, sort-test::key, OidIsValid, shimBoolConsistentFn(), shimTriConsistentFn(), GinState::supportCollation, GinState::triConsistentFn, trueConsistentFn(), and trueTriConsistentFn().
Referenced by ginFillScanKey().
|
static |
Definition at line 108 of file ginlogic.c.
References DatumGetGinTernaryValue(), FunctionCall7Coll(), GIN_MAYBE, sort-test::key, PointerGetDatum(), UInt16GetDatum(), and UInt32GetDatum().
Referenced by ginInitConsistentFunction().
|
static |
Definition at line 146 of file ginlogic.c.
References directBoolConsistentFn(), GIN_FALSE, GIN_MAYBE, GIN_TRUE, i, sort-test::key, and MAX_MAYBE_ENTRIES.
Referenced by ginInitConsistentFunction().
|
static |
Definition at line 50 of file ginlogic.c.
References sort-test::key.
Referenced by ginInitConsistentFunction().
|
static |
Definition at line 56 of file ginlogic.c.
References GIN_TRUE.
Referenced by ginInitConsistentFunction().