postgresql7.1
select bt_bug_revision__new (
null,
:bug_id,
:component_id,
:found_in_version,
:fix_for_version,
:fixed_in_version,
:resolution,
:user_agent,
:summary,
now(),
:creation_user,
:creation_ip
);
select workflow_case_pkg__delete(:case_id);
content_keyword__is_assigned(b.bug_id, :f_category_$parent_id, 'none') = 't'
and acs_permission__permission_p(b.bug_id, :user_id, 'read')