apm_pretty_name_for_db_type (private, deprecated)

 apm_pretty_name_for_db_type db_type

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

Deprecated. Invoking this procedure generates a warning.

Returns the pretty name corresponding to a particular file type key (memoizing to save a database hit here and there).

Parameters:
db_type

Partial Call Graph (max 5 caller/called nodes):
%3 ad_get_tcl_call_stack ad_get_tcl_call_stack (public) apm_pretty_name_for_db_type apm_pretty_name_for_db_type apm_pretty_name_for_db_type->ad_get_tcl_call_stack

Testcases:
No testcase defined.
Source code:
ns_log Notice "Deprecated proc apm_pretty_name_for_db_type used:\n[ad_get_tcl_call_stack]"

    set pos [lsearch -index 0 -exact $::acs::known_database_types $db_type]
    return [lindex $::acs::known_database_types $pos 2]
    # return [util_memoize [list db_string pretty_db_name_select "
    #     select pretty_db_name
    #     from apm_package_db_types
    #     where db_type_key = :db_type
    # " -default "all" -bind [list db_type $db_type]]]
Generic XQL file:
packages/acs-tcl/tcl/apm-procs.xql

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

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

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