fix wrong number of variables INTO

This commit is contained in:
John Krauss 2016-07-13 13:39:33 -04:00
parent fb083f4b9e
commit af2259bb0a

View File

@ -372,7 +372,7 @@ BEGIN
ORDER BY geom_weight DESC, numer_timespan DESC
LIMIT 1
$query$
INTO numer_colname, numer_geomref_colname, numer_tablename,
INTO numer_aggregate, numer_colname, numer_geomref_colname, numer_tablename,
denom_colname, denom_geomref_colname, denom_tablename,
geom_colname, geom_geomref_colname, geom_tablename
USING COALESCE(boundary_id, ''), measure_id, COALESCE(time_span, '');