SELECT DBMS_DDL_WRAP($code$ CREATE FUNCTION test() RETURNS INTEGER LANGUAGE plpgsql AS $$ RETURN 777; $$; $code$);