Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ffcd7a1

Browse files
committed
Fix incorrect errno definitions in ECPG manual.
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
1 parent c04fd1b commit ffcd7a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.101 2010/07/29 19:34:40 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.102 2010/08/11 18:52:02 rhaas Exp $ -->
22

33
<chapter id="ecpg">
44
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
@@ -4894,7 +4894,7 @@ struct
48944894
</varlistentry>
48954895

48964896
<varlistentry>
4897-
<term>-208 (<symbol>ECPG_EMPTY</symbol>)</term>
4897+
<term>-212 (<symbol>ECPG_EMPTY</symbol>)</term>
48984898
<listitem>
48994899
<para>
49004900
The statement sent to the <productname>PostgreSQL</productname>
@@ -4906,7 +4906,7 @@ struct
49064906
</varlistentry>
49074907

49084908
<varlistentry>
4909-
<term>-209 (<symbol>ECPG_MISSING_INDICATOR</symbol>)</term>
4909+
<term>-213 (<symbol>ECPG_MISSING_INDICATOR</symbol>)</term>
49104910
<listitem>
49114911
<para>
49124912
A null value was returned and no null indicator variable was
@@ -4916,7 +4916,7 @@ struct
49164916
</varlistentry>
49174917

49184918
<varlistentry>
4919-
<term>-210 (<symbol>ECPG_NO_ARRAY</symbol>)</term>
4919+
<term>-214 (<symbol>ECPG_NO_ARRAY</symbol>)</term>
49204920
<listitem>
49214921
<para>
49224922
An ordinary variable was used in a place that requires an
@@ -4926,7 +4926,7 @@ struct
49264926
</varlistentry>
49274927

49284928
<varlistentry>
4929-
<term>-211 (<symbol>ECPG_DATA_NOT_ARRAY</symbol>)</term>
4929+
<term>-215 (<symbol>ECPG_DATA_NOT_ARRAY</symbol>)</term>
49304930
<listitem>
49314931
<para>
49324932
The database returned an ordinary variable in a place that

0 commit comments

Comments
 (0)