PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ rt_pg_error()

static void static void rt_pg_error ( const char *  fmt,
va_list  ap 
)
static

Definition at line 204 of file rtpostgis.c.

References __attribute__, pixval::fmt, RT_MSG_MAXLEN, and rt_pg_notice().

Referenced by _PG_init(), and rt_pg_free().

205 {
206  char errmsg[RT_MSG_MAXLEN+1];
207 
208  vsnprintf (errmsg, RT_MSG_MAXLEN, fmt, ap);
209 
210  errmsg[RT_MSG_MAXLEN]='\0';
211  ereport(ERROR, (errmsg_internal("%s", errmsg)));
212 }
def fmt
Definition: pixval.py:92
#define RT_MSG_MAXLEN
Definition: rtpostgis.c:158
Here is the call graph for this function:
Here is the caller graph for this function: