]> granicus.if.org Git - postgis/commitdiff
Added NOTICE_HANDLER function. For some reason this didnt get properly
authorDavid Blasby <dblasby@gmail.com>
Thu, 16 Oct 2003 20:16:18 +0000 (20:16 +0000)
committerDavid Blasby <dblasby@gmail.com>
Thu, 16 Oct 2003 20:16:18 +0000 (20:16 +0000)
committed last time.

git-svn-id: http://svn.osgeo.org/postgis/trunk@312 b70326c6-7e19-0410-871a-916f4a2858ee

postgis_geos.c

index f8e85dc450b86ff28911b572552672382cda0f73..723e692a8807c55d384edf6b848607ec5aa87cd2 100644 (file)
  *
  **********************************************************************
  * $Log$
+ * Revision 1.12  2003/10/16 20:16:18  dblasby
+ * Added NOTICE_HANDLER function.  For some reason this didnt get properly
+ * committed last time.
+ *
  * Revision 1.11  2003/10/14 23:19:19  dblasby
  * GEOS2POSTGIS - added protection to pfree(NULL) for multi* geoms
  *
@@ -176,13 +180,22 @@ GEOMETRY *GEOS2POSTGIS(Geometry *g, char want3d );
 
 POLYGON3D *PolyFromGeometry(Geometry *g, int *size);
 LINE3D *LineFromGeometry(Geometry *g, int *size);
-
+void NOTICE_MESSAGE(char *msg);
 
 //-----------------------------------------------
 // return a GEOS Geometry from a POSTGIS GEOMETRY
 //----------------------------------------------
 
 
+
+
+void NOTICE_MESSAGE(char *msg)
+{
+       elog(NOTICE,msg);
+}
+
+
+
 //select geomunion('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0))','POLYGON((5 5, 15 5, 15 7, 5 7, 5 5))');
 PG_FUNCTION_INFO_V1(geomunion);
 Datum geomunion(PG_FUNCTION_ARGS)