Simple fix for type cheking in test

This commit is contained in:
Rafa de la Torre 2015-08-14 13:40:10 +02:00
parent 72ebc398f8
commit 010dd13e4d

View File

@ -78,7 +78,7 @@ BEGIN
rec.f_geometry_column, rec.srid, rec.expsrid;
END IF;
-- Check TYPE constraint didn't change
IF rec.type != rec.exptype THEN
IF (rec.type != 'GEOMETRY') AND (rec.type != 'POINT') THEN
RAISE EXCEPTION 'type of % in geometry_columns is %, expected %',
rec.f_geometry_column, rec.type, rec.exptype;
END IF;