|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | GISTIntArrayOptions |
| struct | GISTIntArrayBigOptions |
| struct | GISTTYPE |
| struct | ITEM |
| struct | QUERYTYPE |
Typedefs | |
| typedef char * | BITVECP |
| typedef struct ITEM | ITEM |
| typedef struct QUERYTYPE | QUERYTYPE |
| #define DatumGetQueryTypeP | ( | X | ) | ((QUERYTYPE *) PG_DETOAST_DATUM(X)) |
| #define DatumGetQueryTypePCopy | ( | X | ) | ((QUERYTYPE *) PG_DETOAST_DATUM_COPY(X)) |
| #define G_INT_GET_NUMRANGES | ( | ) |
Definition at line 14 of file _int.h.
| #define G_INT_NUMRANGES_MAX |
| #define GET_SIGLEN | ( | ) |
Definition at line 65 of file _int.h.
| #define PG_GETARG_QUERYTYPE_P | ( | n | ) | DatumGetQueryTypeP(PG_GETARG_DATUM(n)) |
| #define PG_GETARG_QUERYTYPE_P_COPY | ( | n | ) | DatumGetQueryTypePCopy(PG_GETARG_DATUM(n)) |
| #define QUERYTYPEMAXITEMS ((MaxAllocSize - HDRSIZEQT) / sizeof(ITEM)) |
| #define SIGLEN_MAX GISTMaxIndexKeySize |
| #define SIGLENBIT | ( | siglen | ) | ((siglen) * BITS_PER_BYTE) |
Definition at line 313 of file _int_tool.c.
References ARRNELEMS, ARRPTR, fb(), isort_cmp(), qunique_arg(), and resize_intArrayType().
Referenced by g_int_union(), inner_int_union(), intset_subtract(), intset_union_elem(), and uniq().
Definition at line 283 of file _int_tool.c.
References a, ARRNELEMS, ARRPTR, memcpy(), and new_intArrayType().
Referenced by g_int_picksplit(), and inner_int_union().
Definition at line 307 of file _int_bool.c.
References ARRNELEMS, ARRPTR, CHECKARRVALID, checkcondition_arr(), execute(), fb(), GETQUERY, and QUERYTYPE::size.
Referenced by g_int_consistent().
Definition at line 325 of file _int_tool.c.
Definition at line 334 of file _int_bool.c.
References checkcondition_gin(), execute(), fb(), GETQUERY, i, items, j, palloc_array, QUERYTYPE::size, type, and VAL.
Referenced by ginint4_consistent().
Definition at line 136 of file _int_tool.c.
References a, ARRISEMPTY, ARRNELEMS, ARRPTR, b, fb(), i, j, Min, new_intArrayType(), pfree(), and resize_intArrayType().
Referenced by _int_inter(), and g_int_picksplit().
Definition at line 50 of file _int_tool.c.
References a, ARRNELEMS, ARRPTR, b, fb(), i, and j.
Referenced by _int_overlap(), and g_int_consistent().
Definition at line 79 of file _int_tool.c.
References _int_unique(), a, ARRISEMPTY, ARRNELEMS, ARRPTR, b, CHECKARRVALID, copy_intArrayType(), fb(), i, j, new_intArrayType(), and resize_intArrayType().
Referenced by _int_union(), g_int_penalty(), and g_int_picksplit().
Definition at line 388 of file _int_tool.c.
References ARRPTR, fb(), new_intArrayType(), and result.
Referenced by intset().
Definition at line 354 of file _int_tool.c.
References a, ARRNELEMS, ARRPTR, CHECKARRVALID, memcpy(), new_intArrayType(), and result.
Referenced by intarray_push_elem(), and intset_union_elem().
Definition at line 371 of file _int_tool.c.
References a, ARRNELEMS, ARRPTR, b, CHECKARRVALID, fb(), memcpy(), new_intArrayType(), and result.
Referenced by intarray_push_array().
Definition at line 295 of file _int_tool.c.
References a, fb(), i, and len.
Referenced by g_int_compress(), and g_int_decompress().
Definition at line 224 of file _int_tool.c.
References ARR_DIMS, ARR_ELEMTYPE, ARR_LBOUND, ARR_NDIM, ARR_OVERHEAD_NONULLS, Assert, construct_empty_array(), ArrayType::dataoffset, fb(), palloc0(), and SET_VARSIZE().
Referenced by copy_intArrayType(), g_int_decompress(), g_int_union(), inner_int_inter(), inner_int_union(), int_to_intset(), intarray_add_elem(), intarray_concat_arrays(), intset_subtract(), and subarray().
Definition at line 397 of file _int_bool.c.
References contains_required_value(), GETQUERY, and QUERYTYPE::size.
Referenced by ginint4_queryextract().
Definition at line 252 of file _int_tool.c.
References a, ARR_DATA_OFFSET, ARR_DIMS, ARR_NDIM, ARRNELEMS, Assert, construct_empty_array(), fb(), i, repalloc(), and SET_VARSIZE().
Referenced by _int_unique(), g_int_compress(), inner_int_inter(), inner_int_union(), intarray_del_elem(), and intset_subtract().
Definition at line 184 of file _int_tool.c.
References a, ARRNELEMS, and fb().
Referenced by g_int_penalty(), and g_int_picksplit().
Definition at line 298 of file _int_bool.c.
References checkcondition_bit(), execute(), fb(), GETQUERY, sign, and QUERYTYPE::size.
Referenced by g_intbig_consistent().