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