1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.50 2003/09/09 10:54:44 meskes Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.51 2003/09/11 21:42:19 momjian Exp $
3
3
-->
4
4
5
5
<chapter id="ecpg">
@@ -1153,10 +1153,11 @@ struct
1153
1153
condition. A successful state is indicated by the code
1154
1154
<literal>00000</literal>. Further information about the codes can
1155
1155
be found XXX. The <literal>SQLSTATE</literal> codes are for the
1156
- most part defined in the SQL standard. The PostgreSQL server
1157
- natively supports <literal>SQLSTATE</literal> error codes;
1158
- therefore a high degree of consistency can be achieved by using
1159
- this error code scheme throughout all applications.
1156
+ most part defined in the SQL standard. The
1157
+ <productname>PostgreSQL</productname> server natively supports
1158
+ <literal>SQLSTATE</literal> error codes; therefore a high degree
1159
+ of consistency can be achieved by using this error code scheme
1160
+ throughout all applications.
1160
1161
</para>
1161
1162
1162
1163
<para>
@@ -1168,11 +1169,11 @@ struct
1168
1169
affected zero rows, and no specific negative values. Therefore,
1169
1170
this scheme can only achieve poor portability and does not have a
1170
1171
hierarchical code assignment. Historically, the embedded SQL
1171
- processor for PostgreSQL has assigned some specific
1172
- <literal>SQLCODE</literal> values for its use, which are listed
1173
- below with their numeric value and their symbolic name. Remember
1174
- that these are not portable to other SQL implementations. To
1175
- simplify the porting of applications to the
1172
+ processor for <productname> PostgreSQL</productname> has assigned
1173
+ some specific <literal>SQLCODE</literal> values for its use, which
1174
+ are listed below with their numeric value and their symbolic name.
1175
+ Remember that these are not portable to other SQL implementations.
1176
+ To simplify the porting of applications to the
1176
1177
<literal>SQLSTATE</literal> scheme, the corresponding
1177
1178
<literal>SQLSTATE</literal> is also listed. There is, however, no
1178
1179
one-to-one or one-to-many mapping between the two schemes (indeed
@@ -1291,9 +1292,10 @@ struct
1291
1292
<term>-208 (<symbol>ECPG_EMPTY</symbol>)</term>
1292
1293
<listitem>
1293
1294
<para>
1294
- The statement sent to the PostgreSQL server was empty. (This
1295
- cannot normally happen in an embedded SQL program, so it may
1296
- point to an internal error.) (SQLSTATE YE002)
1295
+ The statement sent to the <productname>PostgreSQL</productname>
1296
+ server was empty. (This cannot normally happen in an embedded
1297
+ SQL program, so it may point to an internal error.) (SQLSTATE
1298
+ YE002)
1297
1299
</para>
1298
1300
</listitem>
1299
1301
</varlistentry>
0 commit comments