postgresql7.1
begin
perform bookmark__toggle_open_close (:bookmark_id,:browsing_user_id);
return 0;
end;
begin
perform bookmark__toggle_open_close_all(
:browsing_user_id,
:closed_p,
bookmark__get_root_folder(:package_id,:viewed_user_id)
);
return 0;
end;