-- -- timespan_days/1 -- create or replace function timespan_days( double precision ) returns interval as $$ DECLARE n_days alias for $1; BEGIN return (n_days::text || ' days')::interval; END; $$ language plpgsql;
-- -- timespan_days/1 -- create or replace function timespan_days( double precision ) returns interval as $$ DECLARE n_days alias for $1; BEGIN return (n_days::text || ' days')::interval; END; $$ language plpgsql;