[postgis-commits] svn - r3057 - branches/1.3/lwgeom

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Thu Oct 2 18:50:38 PDT 2008


Author: mleslie
Date: 2008-10-02 18:50:38 -0700 (Thu, 02 Oct 2008)
New Revision: 3057

Modified:
   branches/1.3/lwgeom/lwpostgis.sql.in
Log:
Fixed unescaped quotes in the error raising for the srid validity check of AddGeometryColumn.

Modified: branches/1.3/lwgeom/lwpostgis.sql.in
===================================================================
--- branches/1.3/lwgeom/lwpostgis.sql.in	2008-10-02 23:53:37 UTC (rev 3056)
+++ branches/1.3/lwgeom/lwpostgis.sql.in	2008-10-03 01:50:38 UTC (rev 3057)
@@ -3117,7 +3117,7 @@
 	IF ( new_srid != -1 ) THEN
 		SELECT SRID INTO sr FROM SPATIAL_REF_SYS WHERE SRID = new_srid;
 		IF NOT FOUND THEN
-			RAISE EXCEPTION 'AddGeometryColumns() - invalid SRID';
+			RAISE EXCEPTION ''AddGeometryColumns() - invalid SRID'';
 		END IF;
 	END IF;
 



More information about the postgis-commits mailing list