Clases |
struct | ArrayType |
struct | ArrayBuildState |
struct | ArrayMetaState |
struct | ArrayMapState |
'defines' |
#define | ARRAY_ELEMS_CHUNKSIZE 64 |
#define | DatumGetArrayTypeP(X) ((ArrayType *) PG_DETOAST_DATUM(X)) |
#define | DatumGetArrayTypePCopy(X) ((ArrayType *) PG_DETOAST_DATUM_COPY(X)) |
#define | PG_GETARG_ARRAYTYPE_P(n) DatumGetArrayTypeP(PG_GETARG_DATUM(n)) |
#define | PG_GETARG_ARRAYTYPE_P_COPY(n) DatumGetArrayTypePCopy(PG_GETARG_DATUM(n)) |
#define | PG_RETURN_ARRAYTYPE_P(x) PG_RETURN_POINTER(x) |
#define | ARR_SIZE(a) (((ArrayType *) (a))->size) |
#define | ARR_NDIM(a) (((ArrayType *) (a))->ndim) |
#define | ARR_ELEMTYPE(a) (((ArrayType *) (a))->elemtype) |
#define | ARR_DIMS(a) ((int *) (((char *) (a)) + sizeof(ArrayType))) |
#define | ARR_LBOUND(a) |
#define | ARR_OVERHEAD(n) (MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (n))) |
#define | ARR_DATA_PTR(a) (((char *) (a)) + ARR_OVERHEAD(ARR_NDIM(a))) |
'typedefs' |
typedef struct ArrayBuildState | ArrayBuildState |
typedef struct ArrayMetaState | ArrayMetaState |
typedef struct ArrayMapState | ArrayMapState |
Funciones |
Datum | array_in (PG_FUNCTION_ARGS) |
Datum | array_out (PG_FUNCTION_ARGS) |
Datum | array_recv (PG_FUNCTION_ARGS) |
Datum | array_send (PG_FUNCTION_ARGS) |
Datum | array_eq (PG_FUNCTION_ARGS) |
Datum | array_ne (PG_FUNCTION_ARGS) |
Datum | array_lt (PG_FUNCTION_ARGS) |
Datum | array_gt (PG_FUNCTION_ARGS) |
Datum | array_le (PG_FUNCTION_ARGS) |
Datum | array_ge (PG_FUNCTION_ARGS) |
Datum | btarraycmp (PG_FUNCTION_ARGS) |
Datum | array_dims (PG_FUNCTION_ARGS) |
Datum | array_lower (PG_FUNCTION_ARGS) |
Datum | array_upper (PG_FUNCTION_ARGS) |
Datum | array_type_coerce (PG_FUNCTION_ARGS) |
Datum | array_type_length_coerce (PG_FUNCTION_ARGS) |
Datum | array_length_coerce (PG_FUNCTION_ARGS) |
Datum | array_larger (PG_FUNCTION_ARGS) |
Datum | array_smaller (PG_FUNCTION_ARGS) |
Datum | array_ref (ArrayType *array, int nSubscripts, int *indx, int arraylen, int elmlen, bool elmbyval, char elmalign, bool *isNull) |
ArrayType * | array_set (ArrayType *array, int nSubscripts, int *indx, Datum dataValue, int arraylen, int elmlen, bool elmbyval, char elmalign, bool *isNull) |
ArrayType * | array_get_slice (ArrayType *array, int nSubscripts, int *upperIndx, int *lowerIndx, int arraylen, int elmlen, bool elmbyval, char elmalign, bool *isNull) |
ArrayType * | array_set_slice (ArrayType *array, int nSubscripts, int *upperIndx, int *lowerIndx, ArrayType *srcArray, int arraylen, int elmlen, bool elmbyval, char elmalign, bool *isNull) |
Datum | array_map (FunctionCallInfo fcinfo, Oid inpType, Oid retType, ArrayMapState *amstate) |
ArrayType * | construct_array (Datum *elems, int nelems, Oid elmtype, int elmlen, bool elmbyval, char elmalign) |
ArrayType * | construct_md_array (Datum *elems, int ndims, int *dims, int *lbs, Oid elmtype, int elmlen, bool elmbyval, char elmalign) |
void | deconstruct_array (ArrayType *array, Oid elmtype, int elmlen, bool elmbyval, char elmalign, Datum **elemsp, int *nelemsp) |
ArrayBuildState * | accumArrayResult (ArrayBuildState *astate, Datum dvalue, bool disnull, Oid element_type, MemoryContext rcontext) |
Datum | makeArrayResult (ArrayBuildState *astate, MemoryContext rcontext) |
Datum | makeMdArrayResult (ArrayBuildState *astate, int ndims, int *dims, int *lbs, MemoryContext rcontext) |
int | ArrayGetOffset (int n, int *dim, int *lb, int *indx) |
int | ArrayGetOffset0 (int n, int *tup, int *scale) |
int | ArrayGetNItems (int ndims, int *dims) |
void | mda_get_range (int n, int *span, int *st, int *endp) |
void | mda_get_prod (int n, int *range, int *prod) |
void | mda_get_offset_values (int n, int *dist, int *prod, int *span) |
int | mda_next_tuple (int n, int *curr, int *span) |
Datum | array_push (PG_FUNCTION_ARGS) |
Datum | array_cat (PG_FUNCTION_ARGS) |
ArrayType * | create_singleton_array (FunctionCallInfo fcinfo, Oid element_type, Datum element, int ndims) |