17967 HeapTupleHeader tup;
17973 char *utypename = NULL;
17976 etype = ARR_ELEMTYPE(array);
17977 get_typlenbyvalalign(etype, &typlen, &typbyval, &typalign);
17982 typlen, typbyval, typalign,
17987 elog(ERROR,
"rtpg_union_unionarg_process: Invalid argument for unionarg");
17995 elog(ERROR,
"rtpg_union_unionarg_process: Could not allocate memory for band information");
18000 for (i = 0; i < n; i++) {
18009 tup = (HeapTupleHeader) DatumGetPointer(e[i]);
18011 elog(ERROR,
"rtpg_union_unionarg_process: Invalid argument for unionarg");
18016 tupv = GetAttributeByName(tup,
"nband", &isnull);
18019 elog(NOTICE,
"First argument (nband) of unionarg is NULL. Assuming nband = %d", nband);
18022 nband = DatumGetInt32(tupv);
18025 elog(ERROR,
"rtpg_union_unionarg_process: Band number must be greater than zero (1-based)");
18030 tupv = GetAttributeByName(tup,
"uniontype", &isnull);
18032 elog(NOTICE,
"Second argument (uniontype) of unionarg is NULL. Assuming uniontype = LAST");
18036 utypename = text_to_cstring((text *) DatumGetPointer(tupv));
18057 elog(ERROR,
"rtpg_union_unionarg_process: Could not reallocate memory for band information");
static char * rtpg_strtoupper(char *str)
rtpg_union_band_arg bandarg
#define POSTGIS_RT_DEBUGF(level, msg,...)
rtpg_union_type uniontype
static rtpg_union_type rtpg_uniontype_index_from_name(const char *cutype)