text: SELECT
      pg_get_functiondef({{fnid}}::oid) AS func_def,
      COALESCE(pg_catalog.pg_get_function_identity_arguments(pr.oid), '') as
      func_with_identity_arguments,
      nspname,
      pr.proname as proname,
      COALESCE(pg_catalog.pg_get_function_arguments(pr.oid), '') as func_args
  FROM
      pg_proc pr
  JOIN
      pg_namespace nsp ON nsp.oid=pr.pronamespace
  WHERE
      pr.prokind IN ('f', 'w')
      AND pronamespace = {{scid}}::oid
      AND pr.oid = {{fnid}}::oid;
  