[postgis-commits] svn - r3497 - branches/1.3/lwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Wed Jan 7 10:15:52 PST 2009
Author: kneufeld
Date: 2009-01-07 10:15:51 -0800 (Wed, 07 Jan 2009)
New Revision: 3497
Modified:
branches/1.3/lwgeom/lwpostgis.sql.in
Log:
updated AddGeometryColumn to throw an error if then specified schema doesn't exist, rather than throwing an notice and then an error.
Modified: branches/1.3/lwgeom/lwpostgis.sql.in
===================================================================
--- branches/1.3/lwgeom/lwpostgis.sql.in 2009-01-07 12:11:15 UTC (rev 3496)
+++ branches/1.3/lwgeom/lwpostgis.sql.in 2009-01-07 18:15:51 UTC (rev 3497)
@@ -3137,8 +3137,7 @@
END LOOP;
if ( schema_ok <> ''t'' ) THEN
- RAISE NOTICE ''Invalid schema name - using current_schema()'';
- SELECT current_schema() into real_schema;
+ RAISE EXCEPTION ''Invalid schema name'';
ELSE
real_schema = schema_name;
END IF;
More information about the postgis-commits
mailing list