PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ gserialized_spgist_config_2d()

PGDLLEXPORT Datum gserialized_spgist_config_2d ( PG_FUNCTION_ARGS  )

Definition at line 290 of file gserialized_spgist_2d.c.

291{
292 spgConfigOut *cfg = (spgConfigOut *)PG_GETARG_POINTER(1);
293 Oid boxoid = InvalidOid;
294 /* We need to initialize the internal cache to access it later via postgis_oid() */
295 postgis_initialize_cache();
296 boxoid = postgis_oid(BOX2DFOID);
297
298 cfg->prefixType = boxoid;
299 cfg->labelType = VOIDOID; /* We don't need node labels. */
300 cfg->leafType = boxoid;
301 cfg->canReturnData = false;
302 cfg->longValuesOK = false;
303
304 PG_RETURN_VOID();
305}