Fix incorrect errno definitions in ECPG manual.
authorRobert Haas <[email protected]>
Wed, 11 Aug 2010 18:52:58 +0000 (18:52 +0000)
committerRobert Haas <[email protected]>
Wed, 11 Aug 2010 18:52:58 +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 245a2e6a0f14ce20085bf21d51072cd7b469dd82..0ad6308877340479b5a4f49d79088a3f83089a8c 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.62.4.2 2005/05/20 12:37:51 neilc Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.62.4.3 2010/08/11 18:52:58 rhaas Exp $
 -->
 
 <chapter id="ecpg">
@@ -1299,7 +1299,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>
@@ -1311,7 +1311,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
@@ -1321,7 +1321,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
@@ -1331,7 +1331,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