]> granicus.if.org Git - postgis/commitdiff
Don't refuse to output invalid geometries trough a cursor, being consistent with...
authorSandro Santilli <strk@keybit.net>
Tue, 9 Feb 2010 22:36:08 +0000 (22:36 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 9 Feb 2010 22:36:08 +0000 (22:36 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5226 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_inout.c

index 38b37b29d24c030c2a82a87557ef361e74b2e1f0..78224b2e70ffa7f8451647d4725060b29db5c02b 100644 (file)
@@ -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);