OSDN Git Service

Please find enclosed another patch that now (I hope) really is
authorBruce Momjian <bruce@momjian.us>
Mon, 17 Jan 2005 17:29:49 +0000 (17:29 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 17 Jan 2005 17:29:49 +0000 (17:29 +0000)
correct.  It's in addition to the previous patch.

David Fetter

doc/src/sgml/plperl.sgml

index 36ef2dd..554aa99 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.36 2005/01/17 03:04:17 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.37 2005/01/17 17:29:49 momjian Exp $
 -->
 
  <chapter id="plperl">
@@ -543,22 +543,23 @@ $$ LANGUAGE plperl;
     </varlistentry>
 
     <varlistentry>
-     <term><literal>@{$_TD-&gt;{argv}}</literal></term>
+     <term><literal>$_TD-&gt;{argc}</literal></term>
      <listitem>
       <para>
-       Arguments of the trigger function
+       Number of arguments of the trigger function
       </para>
      </listitem>
     </varlistentry>
 
     <varlistentry>
-     <term><literal>$_TD-&gt;{argc}</literal></term>
+     <term><literal>@{$_TD-&gt;{args}}</literal></term>
      <listitem>
       <para>
-       Number of arguments of the trigger function
+       Arguments of the trigger function.  Does not exist if $_TD-&gt;{argc} is 0.
       </para>
      </listitem>
     </varlistentry>
+
    </variablelist>
   </para>