PostGIS  2.3.7dev-r@@SVN_REVISION@@
static void handleInterrupt ( int  sig)
static

Definition at line 128 of file postgis_module.c.

References coreIntHandler, and lwgeom_request_interrupt().

Referenced by _PG_init().

129 {
130  /* NOTE: printf here would be dangerous, see
131  * https://trac.osgeo.org/postgis/ticket/3644
132  *
133  * TODO: block interrupts during execution, to fix the problem
134  */
135  /* printf("Interrupt requested\n"); fflush(stdout); */
136 
137 #if POSTGIS_GEOS_VERSION >= 34
138  GEOS_interruptRequest();
139 #endif
140 
141  /* request interruption of liblwgeom as well */
143 
144  if ( coreIntHandler ) {
145  (*coreIntHandler)(sig);
146  }
147 }
static pqsigfunc coreIntHandler
void lwgeom_request_interrupt(void)
Request interruption of any running code.
Definition: lwgeom_api.c:837

Here is the call graph for this function:

Here is the caller graph for this function: