postgresql7.1 declare v_url_id integer; begin v_url_id := url__insert_or_update ( :local_title, :host_url, :complete_url, null, null, :creation_user, :creation_ip, null ); return v_url_id; end; begin perform bookmark__update_in_closed_p_all_users ( :bookmark_id, :parent_id ); return 0; end;