599 char gidxmem[GIDX_MAX_SIZE];
600 GIDX *result = (GIDX *)gidxmem;
603 POSTGIS_DEBUG(4,
"[SPGIST] 'compress' function called");
608 POSTGIS_DEBUG(4,
"[SPGIST] null entry (!?!)");
614 if (gserialized_datum_get_gidx_p(PG_GETARG_DATUM(0), result) ==
LW_FAILURE)
616 POSTGIS_DEBUG(4,
"[SPGIST] empty geometry!");
620 POSTGIS_DEBUGF(4,
"[SPGIST] got GIDX: %s", gidx_to_string(result));
624 for (i = 0; i < GIDX_NDIMS(result); i++)
626 if (!isfinite(GIDX_GET_MAX(result, i)) || !isfinite(GIDX_GET_MIN(result, i)))
629 PG_RETURN_POINTER(result);
void gidx_set_unknown(GIDX *a)
GIDX * gidx_copy(GIDX *b)
void gidx_validate(GIDX *b)