plpgsql_utility::generate_function_signature (public)

 plpgsql_utility::generate_function_signature attr_list

Defined in packages/acs-subsite/tcl/plpgsql-utility-procs.tcl

Generates the signature for a pl/sql function or procedure

Parameters:
attr_list (required)
Author:
Steve Woodcock <swoodcock@scholastic.co.uk>
Created:
07/2001

Partial Call Graph (max 5 caller/called nodes):
%3 db_column_type db_column_type (public) plpgsql_utility::generate_function_signature plpgsql_utility::generate_function_signature plpgsql_utility::generate_function_signature->db_column_type

Testcases:
No testcase defined.
Source code:
        set pieces [list]
        foreach triple $attr_list {
            set table [string toupper [string trim [lindex $triple 0]]]
            set attr [string toupper [string trim [lindex $triple 1]]]
            set datatype [db_column_type -complain $table $attr]
            lappend pieces $datatype
        }
        return [join $pieces ","]
XQL Not present:
Generic, Oracle
PostgreSQL XQL file:
packages/acs-subsite/tcl/plpgsql-utility-procs-postgresql.xql

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