PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ _PG_init()

void _PG_init ( void  )

Definition at line 81 of file postgis_module.c.

82 {
83  coreIntHandler = pqsignal(SIGINT, handleInterrupt);
84 
85 #ifdef WIN32
86  GEOS_interruptRegisterCallback(interruptCallback);
87  lwgeom_register_interrupt_callback(interruptCallback);
88 #endif
89 
90  /* install PostgreSQL handlers */
91  pg_install_lwgeom_handlers();
92 
93  /* pass proj messages through the pgsql error handler */
94 #if POSTGIS_PROJ_VERSION > 60
95  proj_log_func(NULL, NULL, pjLogFunction);
96 #endif
97 
98  /* setup hooks */
99  onExecutorStartPrev = ExecutorStart_hook;
100  ExecutorStart_hook = onExecutorStart;
101 }
lwinterrupt_callback * lwgeom_register_interrupt_callback(lwinterrupt_callback *)
Definition: lwgeom_api.c:673
static ExecutorStart_hook_type onExecutorStartPrev
static void handleInterrupt(int sig)
static pqsigfunc coreIntHandler
static void onExecutorStart(QueryDesc *queryDesc, int eflags)
static void pjLogFunction(void *data, int logLevel, const char *message)

References coreIntHandler, handleInterrupt(), lwgeom_register_interrupt_callback(), onExecutorStart(), onExecutorStartPrev, and pjLogFunction().

Here is the call graph for this function: