[postgis-devel] Re: lwg wkt parser kills postgres

David Blasby dblasby at refractions.net
Mon Jun 7 11:06:22 PDT 2004


strk wrote:

> I've reverted the change in lwg_parse_yyerror(), so we can all try
> to figure out what the problem is. FYI my YACC is:
> 	bison (GNU Bison) 1.875a
> Carl has the same problem, what yacc Carl?


$bison --version
bison (GNU Bison) 1.32

I've never had a problem with it crashing...

lwgeom_reg=# select 'POINT()'::lwgeom;
ERROR:  parse error - invalid geometry
lwgeom_reg=# select 'POINT(EMPTY)'::lwgeom;
ERROR:  parse error - invalid geometry

This works on the CVS version from a few hours ago and the current one.

dave





More information about the postgis-devel mailing list