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

Definition at line 48 of file postgis_module.c.

References coreIntHandler, handleInterrupt(), lwgeom_init_backend(), and POSTGIS_PGSQL_VERSION.

49 {
50 
51  coreIntHandler = pqsignal(SIGINT, handleInterrupt);
52 
53 #ifdef WIN32
54 #if POSTGIS_GEOS_VERSION >= 34
55  GEOS_interruptRegisterCallback(geosInterruptCallback);
56 #endif
57 #endif
58 
59 #if 0
60  /* Define custom GUC variables. */
61  DefineCustomIntVariable(
62  "postgis.debug.level", /* name */
63  "Sets the debugging level of PostGIS.", /* short_desc */
64  "This is an experimental configuration.", /* long_desc */
65  &postgis_debug_level, /* valueAddr */
66  0, 8, /* min-max */
67  0, /* bootValue */
68  PGC_SUSET, /* GucContext context */
69  GUC_UNIT_MS, /* int flags */
70 #if POSTGIS_PGSQL_VERSION >= 91
71  NULL, /* GucStringCheckHook check_hook */
72 #endif
73  NULL, /* GucStringAssignHook assign_hook */
74  NULL /* GucShowHook show_hook */
75  );
76 #endif
77 
78 #if 0
79  /* Define custom GUC variables. */
80  DefineCustomStringVariable(
81  "postgis.greeting.string", /* name */
82  "Sets the greeting string used on postgis module load.", /* short_desc */
83  "This is an experimental configuration.", /* long_desc */
84  &greeting, /* valueAddr */
85  "Welcome to PostGIS " POSTGIS_VERSION, /* bootValue */
86  PGC_SUSET, /* GucContext context */
87  GUC_UNIT_MS, /* int flags */
88 #if POSTGIS_PGSQL_VERSION >= 91
89  NULL, /* GucStringCheckHook check_hook */
90 #endif
91  NULL, /* GucStringAssignHook assign_hook */
92  NULL /* GucShowHook show_hook */
93  );
94 #endif
95 
96  /* install PostgreSQL handlers */
97  pg_install_lwgeom_handlers();
98 
99  /* initialize geometry backend */
101 }
static pqsigfunc coreIntHandler
void lwgeom_init_backend()
#define POSTGIS_PGSQL_VERSION
Definition: sqldefines.h:9
static void handleInterrupt(int sig)

Here is the call graph for this function: