]> granicus.if.org Git - postgresql/commitdiff
Fix incorrect errno definitions in ECPG manual.
authorRobert Haas <rhaas@postgresql.org>
Wed, 11 Aug 2010 18:52:02 +0000 (18:52 +0000)
committerRobert Haas <rhaas@postgresql.org>
Wed, 11 Aug 2010 18:52:02 +0000 (18:52 +0000)
ecpgerrno.h hasn't materially changed since PostgreSQL 7.4, so this has
been wrong for a very long time.  Back-patch all the way.

Satoshi Nagayasu

doc/src/sgml/ecpg.sgml

index 7ae64bd249324e01aabab1bf25b2b875b0a61698..713979ae12da1903ada4c5e7bef43ba053f10226 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.101 2010/07/29 19:34:40 petere Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.102 2010/08/11 18:52:02 rhaas Exp $ -->
 
 <chapter id="ecpg">
  <title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
@@ -4894,7 +4894,7 @@ struct
     </varlistentry>
 
     <varlistentry>
-     <term>-208 (<symbol>ECPG_EMPTY</symbol>)</term>
+     <term>-212 (<symbol>ECPG_EMPTY</symbol>)</term>
      <listitem>
       <para>
        The statement sent to the <productname>PostgreSQL</productname>
@@ -4906,7 +4906,7 @@ struct
     </varlistentry>
 
     <varlistentry>
-     <term>-209 (<symbol>ECPG_MISSING_INDICATOR</symbol>)</term>
+     <term>-213 (<symbol>ECPG_MISSING_INDICATOR</symbol>)</term>
      <listitem>
       <para>
        A null value was returned and no null indicator variable was
@@ -4916,7 +4916,7 @@ struct
     </varlistentry>
 
     <varlistentry>
-     <term>-210 (<symbol>ECPG_NO_ARRAY</symbol>)</term>
+     <term>-214 (<symbol>ECPG_NO_ARRAY</symbol>)</term>
      <listitem>
       <para>
        An ordinary variable was used in a place that requires an
@@ -4926,7 +4926,7 @@ struct
     </varlistentry>
 
     <varlistentry>
-     <term>-211 (<symbol>ECPG_DATA_NOT_ARRAY</symbol>)</term>
+     <term>-215 (<symbol>ECPG_DATA_NOT_ARRAY</symbol>)</term>
      <listitem>
       <para>
        The database returned an ordinary variable in a place that