From: Paul Ramsey Date: Sat, 7 Mar 2015 15:29:07 +0000 (+0000) Subject: Fix elog error X-Git-Tag: 2.2.0rc1~605 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4b5953974b0474002b04a76b5ec605604ad018b;p=postgis Fix elog error git-svn-id: http://svn.osgeo.org/postgis/trunk@13325 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/lwgeom_dump.c b/postgis/lwgeom_dump.c index 44511bd8a..212d1af56 100644 --- a/postgis/lwgeom_dump.c +++ b/postgis/lwgeom_dump.c @@ -226,7 +226,7 @@ Datum LWGEOM_dump_rings(PG_FUNCTION_ARGS) pglwgeom = PG_GETARG_GSERIALIZED_P_COPY(0); if ( gserialized_get_type(pglwgeom) != POLYGONTYPE ) { - lwerror("Input is not a polygon"); + elog(ERROR, "Input is not a polygon"); } lwgeom = lwgeom_from_gserialized(pglwgeom); @@ -316,7 +316,7 @@ Datum ST_Subdivide(PG_FUNCTION_ARGS) { #if POSTGIS_GEOS_VERSION < 35 - elog(ERROR, ("The GEOS version this PostGIS binary " + elog(ERROR, "The GEOS version this PostGIS binary " "was compiled against (%d) doesn't support " "'%s' function (3.5.0+ required)", POSTGIS_GEOS_VERSION, __func__);