PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * rtpg_removespaces ( char *  str)
static

Definition at line 837 of file rt_pg.c.

References rtpg_strreplace().

Referenced by RASTER_reclass().

837  {
838  char *rtn;
839  char *tmp;
840 
841  rtn = rtpg_strreplace(str, " ", "", NULL);
842 
843  tmp = rtpg_strreplace(rtn, "\n", "", NULL);
844  pfree(rtn);
845  rtn = rtpg_strreplace(tmp, "\t", "", NULL);
846  pfree(tmp);
847  tmp = rtpg_strreplace(rtn, "\f", "", NULL);
848  pfree(rtn);
849  rtn = rtpg_strreplace(tmp, "\r", "", NULL);
850  pfree(tmp);
851 
852  return rtn;
853 }
static char * rtpg_strreplace(const char *str, const char *oldstr, const char *newstr, int *count)
Definition: rt_pg.c:685

Here is the call graph for this function:

Here is the caller graph for this function: