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

◆ gserialized_spgist_config_3d()

PGDLLEXPORT Datum gserialized_spgist_config_3d ( PG_FUNCTION_ARGS  )

Definition at line 372 of file gserialized_spgist_3d.c.

373{
374 spgConfigOut *cfg = (spgConfigOut *)PG_GETARG_POINTER(1);
375
376 Oid boxoid = InvalidOid;
377 /* We need to initialize the internal cache to access it later via postgis_oid() */
378 postgis_initialize_cache();
379 boxoid = postgis_oid(BOX3DOID);
380
381 cfg->prefixType = boxoid;
382 cfg->labelType = VOIDOID; /* We don't need node labels. */
383 cfg->leafType = boxoid;
384 cfg->canReturnData = false;
385 cfg->longValuesOK = false;
386
387 PG_RETURN_VOID();
388}