[postgis-devel] Re: NULL geometries

strk strk at keybit.net
Mon Jun 7 10:47:04 PDT 2004


On Mon, Jun 07, 2004 at 10:36:08AM -0700, David Blasby wrote:
> strk wrote:
> >lwgparse.c:lwg_parse_yyerror() called an undefined error() function
> >instead of the registered error_func().
> >I dunno how did it work for you...  I've fixed this now, can you
> >check if you have problems now ?
> 
> error() is defined as (about like 717):
> 
> void error(const char* err){
>     error_func(err);
>     ferror_occured=1;
> }
> 
> 
> I havent updated my version for a while - what is everyone doing to the 
> code???
> 
> I just looked in the CVS - its at line 773.

You are right. It's there.
Nonetheless calling it kills the backend, while directly
calling error_func() does not (on my machine).
I'll do some valgrinding...

--strk;

> 
> 
> >By 'postgis supports' I meant it parses that WKT.
> >Internally it converts to GEOMETRYCOLLECTION(EMPTY) but accepts
> >ANYTYPE (EMPTY).
> 
> okay - I understand.
> 
> dave
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list