function errors
This commit is contained in:
parent
a39df2aa1c
commit
47ef81b318
@ -1,6 +1,5 @@
|
||||
CREATE FUNCTION evt.balrf() RETURNS void
|
||||
LANGUAGE plpgsql AS
|
||||
DO
|
||||
$func$
|
||||
DECLARE
|
||||
_mind timestamptz;
|
||||
@ -22,10 +21,9 @@ BEGIN
|
||||
FROM
|
||||
evt.fspr;
|
||||
|
||||
IF
|
||||
_maxd <= _mind
|
||||
IF _maxd <= _mind THEN
|
||||
RETURN;
|
||||
END IF
|
||||
END IF;
|
||||
|
||||
WITH
|
||||
--list each period in min and max
|
||||
|
Loading…
Reference in New Issue
Block a user