mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 09:32:46 +00:00
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:
parent
69b22ea299
commit
dfb8cf71c4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue