19#include "utils/fmgrprotos.h"
23#define GinOverlapStrategy 1
24#define GinContainsStrategy 2
25#define GinContainedStrategy 3
26#define GinEqualStrategy 4
52 &elems, &nulls, &nelems);
71 elog(
ERROR,
"ginarrayextract requires three arguments");
104 &elems, &nulls, &nelems);
131 elog(
ERROR,
"ginqueryarrayextract: unknown strategy number: %d",
169 for (
i = 0;
i < nkeys;
i++)
183 for (
i = 0;
i < nkeys;
i++)
208 for (
i = 0;
i < nkeys;
i++)
218 elog(
ERROR,
"ginarrayconsistent: unknown strategy number: %d",
251 for (
i = 0;
i < nkeys;
i++)
270 for (
i = 0;
i < nkeys;
i++)
295 for (
i = 0;
i < nkeys;
i++)
305 elog(
ERROR,
"ginarrayconsistent: unknown strategy number: %d",
#define PG_GETARG_ARRAYTYPE_P_COPY(n)
#define PG_GETARG_ARRAYTYPE_P(n)
void deconstruct_array(const ArrayType *array, Oid elmtype, int elmlen, bool elmbyval, char elmalign, Datum **elemsp, bool **nullsp, int *nelemsp)
#define PG_GETARG_POINTER(n)
#define PG_GETARG_UINT16(n)
#define PG_GETARG_INT32(n)
#define PG_RETURN_POINTER(x)
#define PG_RETURN_BOOL(x)
#define PG_RETURN_GIN_TERNARY_VALUE(x)
#define GIN_SEARCH_MODE_ALL
#define GIN_SEARCH_MODE_DEFAULT
#define GIN_SEARCH_MODE_INCLUDE_EMPTY
Datum ginarraytriconsistent(PG_FUNCTION_ARGS)
Datum ginarrayextract_2args(PG_FUNCTION_ARGS)
Datum ginarrayextract(PG_FUNCTION_ARGS)
Datum ginarrayconsistent(PG_FUNCTION_ARGS)
#define GinOverlapStrategy
#define GinContainedStrategy
#define GinContainsStrategy
Datum ginqueryarrayextract(PG_FUNCTION_ARGS)
void get_typlenbyvalalign(Oid typid, int16 *typlen, bool *typbyval, char *typalign)