simplified assignment
This commit is contained in:
parent
5941b473ca
commit
d124776c4e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user