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):
%3 apm_data_model_scripts_find apm_data_model_scripts_find (public) apm_upgrade_for_version_p apm_upgrade_for_version_p apm_data_model_scripts_find->apm_upgrade_for_version_p db_exec_plsql db_exec_plsql (public) apm_upgrade_for_version_p->db_exec_plsql

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

[ hide source ] | [ make this the default ]
Show another procedure: