script
DO $$
DECLARE
a time := '05:00:00';
b time := '10:00:00';
BEGIN
RAISE NOTICE '%', a;
PERFORM pg_sleep(5);
RAISE NOTICE '%', b;
RAISE NOTICE '%', a + b::time;
END $$;
Just i want to add a and b, there result will show 17:00:00 this like. When i'm writing this "RAISE NOTICE '%', a + b::time;" then raise error in the following image
Thanks.
