]> granicus.if.org Git - postgis/commitdiff
Fix syntax error in RAISE calls (#2942)
authorSandro Santilli <strk@keybit.net>
Mon, 29 Sep 2014 07:28:52 +0000 (07:28 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 29 Sep 2014 07:28:52 +0000 (07:28 +0000)
PostgreSQL 9.5 doesn't tolerate them...

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

topology/sql/predicates.sql.in

index 985fae6e5e6bf159c71c3defb2f784bdc539392e..2bf4726de1936e0cbd7ceda9190f84f84b11f18d 100644 (file)
@@ -226,7 +226,7 @@ BEGIN
       RAISE EXCEPTION 'Intersection point/collection not implemented yet';
 
     ELSE
-      RAISE EXCEPTION 'Invalid TopoGeometry type', tg2.type;
+      RAISE EXCEPTION 'Invalid TopoGeometry type %', tg2.type;
     END IF;
 
   ELSIF tg1.type = 2 THEN -- [multi]line
@@ -343,10 +343,10 @@ BEGIN
   ---------------------------------------------------------
 
     ELSIF tg2.type = 4 THEN -- line/collection
-      RAISE EXCEPTION 'Intersection line/collection not implemented yet', tg1.type, tg2.type;
+      RAISE EXCEPTION 'Intersection line/collection not implemented yet';
 
     ELSE
-      RAISE EXCEPTION 'Invalid TopoGeometry type', tg2.type;
+      RAISE EXCEPTION 'Invalid TopoGeometry type %', tg2.type;
     END IF;
 
 
@@ -430,17 +430,17 @@ BEGIN
   ---------------------------------------------------------
 
     ELSIF tg2.type = 4 THEN -- polygon/collection
-      RAISE EXCEPTION 'Intersection poly/collection not implemented yet', tg1.type, tg2.type;
+      RAISE EXCEPTION 'Intersection poly/collection not implemented yet';
 
     ELSE
-      RAISE EXCEPTION 'Invalid TopoGeometry type', tg2.type;
+      RAISE EXCEPTION 'Invalid TopoGeometry type %', tg2.type;
     END IF;
 
   ELSIF tg1.type = 4 THEN -- collection
     IF tg2.type = 4 THEN -- collection/collection
-      RAISE EXCEPTION 'Intersection collection/collection not implemented yet', tg1.type, tg2.type;
+      RAISE EXCEPTION 'Intersection collection/collection not implemented yet';
     ELSE
-      RAISE EXCEPTION 'Invalid TopoGeometry type', tg2.type;
+      RAISE EXCEPTION 'Invalid TopoGeometry type %', tg2.type;
     END IF;
 
   ELSE