postgresql7.1
select apm__register_parameter (
NULL,
:package_key,
:parameter_name,
:description,
:datatype,
:default_value,
:section_name,
:min_n_values,
:max_n_values);
select v.package_id, p.parameter_name, coalesce(p.default_value, v.attr_value) as attr_value
from apm_parameters p LEFT JOIN apm_parameter_values v using (parameter_id)
where p.package_key = :package_key
select apm_package_version__add_interface(
:interface_id,
:version_id,
:interface_uri,
:interface_version
)
select apm_package_version__remove_interface(
:interface_id
);
select apm_package_version__add_dependency(
:dependency_id,
:version_id,
:dependency_uri,
:dependency_version
)