apm_package_upgrade_p (public)
apm_package_upgrade_p package_key version_name
Defined in packages/acs-tcl/tcl/apm-install-procs.tcl
- Parameters:
- package_key (required)
- version_name (required)
- Returns:
- 1 if a version of the indicated package_key of version lower than version_name is already installed in the system, 0 otherwise.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set package_version_name [apm_highest_version_name $package_key] if {$package_version_name eq ""} { return 0 } else { return [expr {[apm_version_names_compare $package_version_name $version_name] == -1}] }Generic XQL file: packages/acs-tcl/tcl/apm-install-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/apm-install-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/apm-install-procs-oracle.xql