OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I686LINUX / util / I686LINUX / doc / postgresql / html / pltcl-procnames.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >Tcl Procedure Names</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
9 REV="MADE"
10 HREF="mailto:pgsql-docs@postgresql.org"><LINK
11 REL="HOME"
12 TITLE="PostgreSQL 7.4.1 Documentation"
13 HREF="index.html"><LINK
14 REL="UP"
15 TITLE="PL/Tcl - Tcl Procedural Language"
16 HREF="pltcl.html"><LINK
17 REL="PREVIOUS"
18 TITLE="Modules and the unknown command"
19 HREF="pltcl-unknown.html"><LINK
20 REL="NEXT"
21 TITLE="PL/Perl - Perl Procedural Language"
22 HREF="plperl.html"><LINK
23 REL="STYLESHEET"
24 TYPE="text/css"
25 HREF="stylesheet.css"><META
26 NAME="creation"
27 CONTENT="2003-12-22T03:48:47"></HEAD
28 ><BODY
29 CLASS="SECT1"
30 ><DIV
31 CLASS="NAVHEADER"
32 ><TABLE
33 SUMMARY="Header navigation table"
34 WIDTH="100%"
35 BORDER="0"
36 CELLPADDING="0"
37 CELLSPACING="0"
38 ><TR
39 ><TH
40 COLSPAN="5"
41 ALIGN="center"
42 VALIGN="bottom"
43 >PostgreSQL 7.4.1 Documentation</TH
44 ></TR
45 ><TR
46 ><TD
47 WIDTH="10%"
48 ALIGN="left"
49 VALIGN="top"
50 ><A
51 HREF="pltcl-unknown.html"
52 ACCESSKEY="P"
53 >Prev</A
54 ></TD
55 ><TD
56 WIDTH="10%"
57 ALIGN="left"
58 VALIGN="top"
59 ><A
60 HREF="pltcl.html"
61 >Fast Backward</A
62 ></TD
63 ><TD
64 WIDTH="60%"
65 ALIGN="center"
66 VALIGN="bottom"
67 >Chapter 38. PL/Tcl - Tcl Procedural Language</TD
68 ><TD
69 WIDTH="10%"
70 ALIGN="right"
71 VALIGN="top"
72 ><A
73 HREF="pltcl.html"
74 >Fast Forward</A
75 ></TD
76 ><TD
77 WIDTH="10%"
78 ALIGN="right"
79 VALIGN="top"
80 ><A
81 HREF="plperl.html"
82 ACCESSKEY="N"
83 >Next</A
84 ></TD
85 ></TR
86 ></TABLE
87 ><HR
88 ALIGN="LEFT"
89 WIDTH="100%"></DIV
90 ><DIV
91 CLASS="SECT1"
92 ><H1
93 CLASS="SECT1"
94 ><A
95 NAME="PLTCL-PROCNAMES"
96 >38.8. Tcl Procedure Names</A
97 ></H1
98 ><P
99 >     In <SPAN
100 CLASS="PRODUCTNAME"
101 >PostgreSQL</SPAN
102 >, one and the 
103      same function name can be used for
104      different functions as long as the number of arguments or their types
105      differ. Tcl, however, requires all procedure names to be distinct.
106      PL/Tcl deals with this by making the internal Tcl procedure names contain
107      the object 
108      ID of the function from the system table <TT
109 CLASS="STRUCTNAME"
110 >pg_proc</TT
111 > as part of their name. Thus,
112      <SPAN
113 CLASS="PRODUCTNAME"
114 >PostgreSQL</SPAN
115 > functions with the same name
116      and different argument types will be different Tcl procedures, too.  This
117      is not normally a concern for a PL/Tcl programmer, but it might be visible
118      when debugging.
119     </P
120 ></DIV
121 ><DIV
122 CLASS="NAVFOOTER"
123 ><HR
124 ALIGN="LEFT"
125 WIDTH="100%"><TABLE
126 SUMMARY="Footer navigation table"
127 WIDTH="100%"
128 BORDER="0"
129 CELLPADDING="0"
130 CELLSPACING="0"
131 ><TR
132 ><TD
133 WIDTH="33%"
134 ALIGN="left"
135 VALIGN="top"
136 ><A
137 HREF="pltcl-unknown.html"
138 ACCESSKEY="P"
139 >Prev</A
140 ></TD
141 ><TD
142 WIDTH="34%"
143 ALIGN="center"
144 VALIGN="top"
145 ><A
146 HREF="index.html"
147 ACCESSKEY="H"
148 >Home</A
149 ></TD
150 ><TD
151 WIDTH="33%"
152 ALIGN="right"
153 VALIGN="top"
154 ><A
155 HREF="plperl.html"
156 ACCESSKEY="N"
157 >Next</A
158 ></TD
159 ></TR
160 ><TR
161 ><TD
162 WIDTH="33%"
163 ALIGN="left"
164 VALIGN="top"
165 >Modules and the <CODE
166 CLASS="FUNCTION"
167 >unknown</CODE
168 > command</TD
169 ><TD
170 WIDTH="34%"
171 ALIGN="center"
172 VALIGN="top"
173 ><A
174 HREF="pltcl.html"
175 ACCESSKEY="U"
176 >Up</A
177 ></TD
178 ><TD
179 WIDTH="33%"
180 ALIGN="right"
181 VALIGN="top"
182 >PL/Perl - Perl Procedural Language</TD
183 ></TR
184 ></TABLE
185 ></DIV
186 ></BODY
187 ></HTML
188 >