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

◆ rtpg_gdal_set_cpl_debug()

void rtpg_gdal_set_cpl_debug ( bool  value,
void *  extra 
)

Definition at line 1147 of file rtpg_gdal.c.

1148{
1149 (void)extra;
1150 CPLSetConfigOption("CPL_DEBUG", value ? "ON" : "OFF");
1151 /* Hook up the GDAL error handlers to PgSQL elog() */
1152 CPLSetErrorHandler(value ? ogrErrorHandler : NULL);
1153 CPLSetCurrentErrorHandlerCatchDebug(value);
1154}
static void ogrErrorHandler(CPLErr eErrClass, int err_no, const char *msg)
Definition rtpg_gdal.c:1119

References ogrErrorHandler().

Referenced by _PG_init().

Here is the call graph for this function:
Here is the caller graph for this function: