parameter::set_default (public)

 parameter::set_default -package_key package_key -parameter parameter \
    -value value

Defined in packages/acs-tcl/tcl/parameter-procs.tcl

Set the default for the package parameter to the provided value. The new default will be used for new installs of the package but does not change existing package instances values.

Switches:
-package_key (required)
what package to set the parameter for
-parameter (required)
which parameter's value to set
-value (required)
what value to set said parameter to

Testcases:
parameter__check_procs
Source code:
    db_dml set {}
Generic XQL file:
<fullquery name="parameter::set_default.set">
    <querytext>
      update apm_parameters set default_value = :value where package_key = :package_key and parameter_name = :parameter
    </querytext>
</fullquery>
packages/acs-tcl/tcl/parameter-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/parameter-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/parameter-procs-oracle.xql

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