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
USING element_count, in_array;
passes = CASE WHEN maxval >= threshold
THEN TRUE
ELSE FALSE
END;
passes = (maxval >= threshold);
RETURN passes;
END;
$$ language plpgsql IMMUTABLE;