From: Bborie Park Date: Sat, 10 Dec 2011 01:00:25 +0000 (+0000) Subject: Fixed missing $ in AddOverviewConstraint() which was setting 7 as the overview factor... X-Git-Tag: 2.0.0alpha1~533 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4ca83f3439f6b300588dc09e29265f3a4aacaec;p=postgis Fixed missing $ in AddOverviewConstraint() which was setting 7 as the overview factor instead of the value at $7. git-svn-id: http://svn.osgeo.org/postgis/trunk@8340 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_pg/rtpostgis.sql.in.c b/raster/rt_pg/rtpostgis.sql.in.c index 8ec7b721e..0d08998b4 100644 --- a/raster/rt_pg/rtpostgis.sql.in.c +++ b/raster/rt_pg/rtpostgis.sql.in.c @@ -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;