--
-- forums_forum__name/1
--
create or replace function forums_forum__name(
  integer
) returns varchar as $$

declare
    p_forum_id                      alias for $1;
begin
    return name from forums_forums where forum_id = p_forum_id;
end;
$$ language plpgsql;