Addresses bug 1148, bug 1149 (and performance problems generally with plpgsql functions). eliminate with(isstrict,iscachable) in favor of the new syntax strict, immutable, stable.
bump version of acs-kernel, acs-content-repository to 5.0.0b4, upgrade scripts provided.
Fix bugs with the following plpgsql procs:
acs_object__initialize_attributes: raise exception on null input. acs_object__set_attribute: exception on null input acs_object_util__get_object_type: remove the exception after the return statement apm__unregister_package: properly default cascade_p apm__unregister_service: properly default cascade_p content_item.get_parent_folder: infinite loop on input if not a direct descendent of a folder (fixed on oracle too) content_item__get_context: exception on null input, fix bug in exception print (wrong variable name) content_item__is_publishable: returned t on null and invalid items content_item__is_subclass: did not short curcuit loop when subclass found content_item__move: would silently ignore null target_id content_revision__copy_attributes: generate an exception on null input content_revision__export_xml: generate exception if called (unimplemented in postgres) content_symlink__copy: generate exception if called (unimplemented) apm_package__parent_id: returned -1 on not found rather than null content_folder__is_registered: no default provided in code for include_subtypes content_keyword__is_assigned: no default for recurse... content_revision__import_xml: generate exception if called (unimplemented in postgres) content_revision__index_attributes: generate exception if called (unimplemented in postgres) content_type__trigger_insert_statement: now generates exception on null input (was silent failure) number_src: infinite loop on null input rule_exists: fix case folded lookup