Fixed bug in AddGeometryColumn refusing to add 4D geoms.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1071 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2004-10-29 05:27:09 +00:00
parent 69b22ea299
commit dfb8cf71c4

View file

@ -2199,7 +2199,7 @@ BEGIN
return ''fail'';
END IF;
IF ( (new_dim >3) or (new_dim <0) ) THEN
IF ( (new_dim >4) or (new_dim <0) ) THEN
RAISE EXCEPTION ''invalid dimension'';
return ''fail'';
END IF;