--
-- content_keyword__set_heading/2
--
create or replace function content_keyword__set_heading(
  integer,
  character varying
) returns int4 as $$

declare
  set_heading__keyword_id             alias for $1;  
  set_heading__heading                alias for $2;  
begin

  update cr_keywords set 
    heading = set_heading__heading
  where
    keyword_id = set_heading__keyword_id;

  return 0; 
end;$$ language plpgsql;