Fix incorrect errno definitions in ECPG manual.
authorRobert Haas <[email protected]>
Wed, 11 Aug 2010 18:52:43 +0000 (18:52 +0000)
committerRobert Haas <[email protected]>
Wed, 11 Aug 2010 18:52:43 +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 851f211d0baff56a4f9e438d5755dce87b9adf42..af99019c231c317302aa65500241d624e71e826b 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.77.2.1 2010/05/13 14:16:45 mha Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.77.2.2 2010/08/11 18:52:43 rhaas Exp $ -->
 
 <chapter id="ecpg">
  <title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
@@ -4305,7 +4305,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>
@@ -4317,7 +4317,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
@@ -4327,7 +4327,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
@@ -4337,7 +4337,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