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

declare
  update_mime_type__content_id             alias for $1;  
  update_mime_type__mime_type              alias for $2;  
begin
	update acs_contents
	set mime_type = update_mime_type__mime_type
	where content_id = update_mime_type__content_id;

        return 0; 
end;$$ language plpgsql;