gooderp18绿色标准版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
3.0KB

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>43.12. Tcl Procedure Names</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="pltcl-config.html" title="43.11. PL/Tcl Configuration" /><link rel="next" href="plperl.html" title="Chapter 44. PL/Perl - Perl Procedural Language" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">43.12. Tcl Procedure Names</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="pltcl-config.html" title="43.11. PL/Tcl Configuration">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="pltcl.html" title="Chapter 43. PL/Tcl - Tcl Procedural Language">Up</a></td><th width="60%" align="center">Chapter 43. PL/Tcl - Tcl Procedural Language</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 12.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="plperl.html" title="Chapter 44. PL/Perl - Perl Procedural Language">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="PLTCL-PROCNAMES"><div class="titlepage"><div><div><h2 class="title" style="clear: both">43.12. Tcl Procedure Names</h2></div></div></div><p>
  3. In <span class="productname">PostgreSQL</span>, the same function name can be used for
  4. different function definitions as long as the number of arguments or their types
  5. differ. Tcl, however, requires all procedure names to be distinct.
  6. PL/Tcl deals with this by making the internal Tcl procedure names contain
  7. the object
  8. ID of the function from the system table <code class="structname">pg_proc</code> as part of their name. Thus,
  9. <span class="productname">PostgreSQL</span> functions with the same name
  10. and different argument types will be different Tcl procedures, too. This
  11. is not normally a concern for a PL/Tcl programmer, but it might be visible
  12. when debugging.
  13. </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pltcl-config.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pltcl.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="plperl.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">43.11. PL/Tcl Configuration </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 44. PL/Perl - Perl Procedural Language</td></tr></table></div></body></html>
上海开阖软件有限公司 沪ICP备12045867号-1