PostGIS  2.1.10dev-r@@SVN_REVISION@@
void lwgeom_init_backend ( void  )

Definition at line 118 of file lwgeom_backend_api.c.

References lwgeom_backend_name, lwgeom_backend_switch(), lwgeom_backend_definition::name, and POSTGIS_PGSQL_VERSION.

Referenced by _PG_init().

119 {
120  DefineCustomStringVariable( "postgis.backend", /* name */
121  "Sets the PostGIS Geometry Backend.", /* short_desc */
122  "Sets the PostGIS Geometry Backend (allowed values are 'geos' or 'sfcgal')", /* long_desc */
123  &lwgeom_backend_name, /* valueAddr */
124  (char *)lwgeom_backends[0].name, /* bootValue */
125  PGC_USERSET, /* GucContext context */
126  0, /* int flags */
127 #if POSTGIS_PGSQL_VERSION >= 91
128  NULL, /* GucStringCheckHook check_hook */
129 #endif
130  lwgeom_backend_switch, /* GucStringAssignHook assign_hook */
131  NULL /* GucShowHook show_hook */
132  );
133 }
char * lwgeom_backend_name
#define POSTGIS_PGSQL_VERSION
Definition: sqldefines.h:9
static void lwgeom_backend_switch(const char *newvalue, void *extra)
struct lwgeom_backend_definition lwgeom_backends[LWGEOM_NUM_BACKENDS]

Here is the call graph for this function:

Here is the caller graph for this function: