Fix incorrect errno definitions in ECPG manual.
authorRobert Haas <[email protected]>
Wed, 11 Aug 2010 18:52:23 +0000 (18:52 +0000)
committerRobert Haas <[email protected]>
Wed, 11 Aug 2010 18:52:23 +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 089c7d87d2b5c8cae18e56d217c7a15cecc9baa6..6014e8db88b193dc0ed3fa9523b1d1b041450e2a 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.89.2.1 2010/05/13 14:16:57 mha Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.89.2.2 2010/08/11 18:52:23 rhaas Exp $ -->
 
 <chapter id="ecpg">
  <title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
@@ -4309,7 +4309,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>
@@ -4321,7 +4321,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
@@ -4331,7 +4331,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
@@ -4341,7 +4341,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