[postgis-tickets] [PostGIS] #2185: Geometry output functions crash server with invalid WKT
PostGIS
trac at osgeo.org
Mon May 20 20:13:42 PDT 2013
#2185: Geometry output functions crash server with invalid WKT
----------------------+-----------------------------------------------------
Reporter: mwtoews | Owner: pramsey
Type: defect | Status: closed
Priority: blocker | Milestone: PostGIS 2.0.4
Component: postgis | Version: 2.0.x
Resolution: fixed | Keywords: windows 64
----------------------+-----------------------------------------------------
Comment(by dustymugs):
As pramsey indicates, this is a subtle bug. The interaction between
PG_PARSER_ERROR() and PG_RETURN_NULL() somehow works around the issue.
What's super strange is that if you were to try...
{{{
PG_PARSER_ERROR(lwg_parser_result);
elog(NOTICE, "I'm a little teapot");
PG_RETURN_NULL();
}}}
the NOTICE will not fire.
I can't seem to find a way to run a debugger with EDB and PostGIS which is
quite... annoying... more experimenting to do... maybe substitute the
actual code for the macros.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2185#comment:46>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list