simplified assignment

This commit is contained in:
Andy Eschbacher 2015-06-23 18:49:59 -04:00
parent 5941b473ca
commit d124776c4e

View File

@ -36,10 +36,8 @@ BEGIN
INTO maxval INTO maxval
USING element_count, in_array; USING element_count, in_array;
passes = CASE WHEN maxval >= threshold passes = (maxval >= threshold);
THEN TRUE
ELSE FALSE
END;
RETURN passes; RETURN passes;
END; END;
$$ language plpgsql IMMUTABLE; $$ language plpgsql IMMUTABLE;