-<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.105 2010/09/02 14:46:44 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.106 2010/09/02 14:57:04 tgl Exp $ -->
 
 <chapter id="ecpg">
  <title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
 </synopsis>
         The function receives the string to parse (<literal>inbuf</>), the
         format mask to use (<literal>fmtstr</>) and a pointer to the timestamp
-        variable that should hold the result of the operation (<literal>ts</>).
+        variable that should hold the result of the operation
+        (<literal>dtvalue</>).
        </para>
        <para>
-        This functions is implemented by means of the <xref
-        linkend="PGTYPEStimestampdefmtasc">. See the documentation
+        This function is implemented by means of the <xref
+        linkend="PGTYPEStimestampdefmtasc"> function. See the documentation
         there for a list of format specifiers that can be used.
        </para>
        <para>