PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ gserialized_spgist_config_2d()

PGDLLEXPORT Datum gserialized_spgist_config_2d ( PG_FUNCTION_ARGS  )

Definition at line 289 of file gserialized_spgist_2d.c.

290 {
291  spgConfigOut *cfg = (spgConfigOut *)PG_GETARG_POINTER(1);
292  Oid boxoid = InvalidOid;
293  postgis_initialize_cache(fcinfo);
294  boxoid = postgis_oid(BOX2DFOID);
295 
296  cfg->prefixType = boxoid;
297  cfg->labelType = VOIDOID; /* We don't need node labels. */
298  cfg->leafType = boxoid;
299  cfg->canReturnData = false;
300  cfg->longValuesOK = false;
301 
302  PG_RETURN_VOID();
303 }

References rtgdalraster::cfg.