apm_upgrade_for_version_p (private)
apm_upgrade_for_version_p path initial_version_name final_version_name
Defined in packages/acs-tcl/tcl/apm-install-procs.tcl
- Parameters:
- path (required)
- initial_version_name (required)
- final_version_name (required)
- Returns:
- 1 if the file indicated by path is a valid SQL script to upgrade initial_version_name to final_version_name
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ns_log Debug "apm_upgrade_for_version_p: upgrade_p $path, $initial_version_name $final_version_name" return [db_exec_plsql apm_upgrade_for_version_p {}]Generic XQL file: packages/acs-tcl/tcl/apm-install-procs.xql
PostgreSQL XQL file: <fullquery name="apm_upgrade_for_version_p.apm_upgrade_for_version_p"> <querytext> select apm_package_version__upgrade_p( :path, :initial_version_name, :final_version_name ); </querytext> </fullquery>packages/acs-tcl/tcl/apm-install-procs-postgresql.xql
Oracle XQL file: <fullquery name="apm_upgrade_for_version_p.apm_upgrade_for_version_p"> <querytext> begin :1 := apm_package_version.upgrade_p( path => :path, initial_version_name => :initial_version_name, final_version_name => :final_version_name ); end; </querytext> </fullquery>packages/acs-tcl/tcl/apm-install-procs-oracle.xql