]> granicus.if.org Git - postgis/commitdiff
Fixed missing $ in AddOverviewConstraint() which was setting 7 as the overview factor...
authorBborie Park <bkpark at ucdavis.edu>
Sat, 10 Dec 2011 01:00:25 +0000 (01:00 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Sat, 10 Dec 2011 01:00:25 +0000 (01:00 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8340 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rtpostgis.sql.in.c

index 8ec7b721e793b4e21818640db420ee1ec7184f72..0d08998b447ae0ad730436c4a6e7e66cc8b9408c 100644 (file)
@@ -4809,7 +4809,7 @@ CREATE OR REPLACE FUNCTION AddOverviewConstraints (
                END LOOP;
 
                -- reference raster
-               rtn := _add_overview_constraint(oschema, $2, $3, rschema, $5, $6, 7);
+               rtn := _add_overview_constraint(oschema, $2, $3, rschema, $5, $6, $7);
                IF rtn IS FALSE THEN
                        RAISE EXCEPTION 'Unable to add the overview constraint.  Is the schema name, table name or column name incorrect?';
                        RETURN FALSE;