clear markdown compare help best fiddles feedback dbanow.uk a leap of faith?
clear markdown donate comments/suggestions/bugs a leap of faith? bible365 diddy dollings
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 2335508 fiddles created (27415 in the last week).

create function test (gap text) returns text as $ftest$ declare cmd text; begin cmd := 'select ''' || gap || '''::interval'; return cmd; end $ftest$ language plpgsql
 hidden batch(es)


select test('5 minute');
test
select '5 minute'::interval
 hidden batch(es)


select '5 minute'::interval
interval
00:05:00
 hidden batch(es)