11<!--
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 $
33-->
44
55<chapter id="ecpg">
@@ -1153,10 +1153,11 @@ struct
11531153 condition. A successful state is indicated by the code
11541154 <literal>00000</literal>. Further information about the codes can
11551155 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.
11601161 </para>
11611162
11621163 <para>
@@ -1168,11 +1169,11 @@ struct
11681169 affected zero rows, and no specific negative values. Therefore,
11691170 this scheme can only achieve poor portability and does not have a
11701171 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
11761177 <literal>SQLSTATE</literal> scheme, the corresponding
11771178 <literal>SQLSTATE</literal> is also listed. There is, however, no
11781179 one-to-one or one-to-many mapping between the two schemes (indeed
@@ -1291,9 +1292,10 @@ struct
12911292 <term>-208 (<symbol>ECPG_EMPTY</symbol>)</term>
12921293 <listitem>
12931294 <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)
12971299 </para>
12981300 </listitem>
12991301 </varlistentry>