From: Sandro Santilli Date: Tue, 9 Feb 2010 22:36:08 +0000 (+0000) Subject: Don't refuse to output invalid geometries trough a cursor, being consistent with... X-Git-Tag: 2.0.0alpha1~3262 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5494989f49e23a914124c1e161394e41e48a6f68;p=postgis Don't refuse to output invalid geometries trough a cursor, being consistent with other output routines (dumper ends up using these) -- [RT-SIGTA] git-svn-id: http://svn.osgeo.org/postgis/trunk@5226 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/lwgeom_inout.c b/postgis/lwgeom_inout.c index 38b37b29d..78224b2e7 100644 --- a/postgis/lwgeom_inout.c +++ b/postgis/lwgeom_inout.c @@ -304,7 +304,7 @@ Datum WKBFromLWGEOM(PG_FUNCTION_ARGS) #else /* ndef BINARY_FROM_HEX */ - result = serialized_lwgeom_to_ewkb(&lwg_unparser_result, SERIALIZED_FORM(lwgeom_input), PARSER_CHECK_ALL, byteorder); + result = serialized_lwgeom_to_ewkb(&lwg_unparser_result, SERIALIZED_FORM(lwgeom_input), PARSER_CHECK_NONE, byteorder); if (result) PG_UNPARSER_ERROR(lwg_unparser_result);