fix bug with variable declaration

This commit is contained in:
John Krauss 2016-04-25 16:31:06 -04:00
parent 108fa9cc56
commit 10fc4f56f0

View File

@ -552,6 +552,7 @@ RETURNS NUMERIC
AS $$
DECLARE
result NUMERIC;
measure_ids NUMERIC[];
BEGIN
IF boundary_id IS NULL THEN
@ -603,7 +604,6 @@ RETURNS TEXT
AS $$
DECLARE
names TEXT[];
category_ids TEXT[];
denominator_id TEXT;
categories TEXT[];
BEGIN