diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 3245064..e45ca77 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -4794,11 +4794,31 @@ struct + 0 (ECPG_NO_ERROR) + + + Indicates no error. (SQLSTATE 00000) + + + + + + 100 (ECPG_NOT_FOUND) + + + This is a harmless condition indicating that the last command + retrieved or processed zero rows, or that you are at the end of + the cursor. (SQLSTATE 02000) + + + + + -12 (ECPG_OUT_OF_MEMORY) - Indicates that your virtual memory is exhausted. (SQLSTATE - YE001) + Indicates that your virtual memory is exhausted, defined as -ENOMEM. + (SQLSTATE YE001) @@ -4886,6 +4906,54 @@ struct + -207 (ECPG_NUMERIC_FORMAT) + + + The host variable is of type numeric and the datum + in the database is of another type and contains a value that + cannot be interpreted as a numeric. + (SQLSTATE 42804) + + + + + + -208 (ECPG_INTERVAL_FORMAT) + + + The host variable is of type interval and the datum + in the database is of another type and contains a value that + cannot be interpreted as a interval. + (SQLSTATE 42804) + + + + + + -209 (ECPG_DATE_FORMAT) + + + The host variable is of type date and the datum in + the database is of another type and contains a value that + cannot be interpreted as a date. + (SQLSTATE 42804) + + + + + + -210 (ECPG_TIMESTAMP_FORMAT) + + + The host variable is of type timestamp and the + datum in the database is of another type and contains a value + that cannot be interpreted as a timestamp. + (SQLSTATE 42804) + + + + + -211 (ECPG_CONVERT_BOOL) @@ -4939,6 +5007,18 @@ struct + -216 (ECPG_ARRAY_INSERT) + + + The value could not be inserted into the array.(This is + disabled by #if 0 in + ecpg.) + (SQLSTATE 42804) + + + + + -220 (ECPG_NO_CONN) @@ -4969,6 +5049,18 @@ struct + -239 (ECPG_INFORMIX_DUPLICATE_KEY) + + + Duplicate key error, and a violation for the unique + constraint (Informix compatible mode). + (SQLSTATE 23505) + + + + + + -240 (ECPG_UNKNOWN_DESCRIPTOR) @@ -5021,6 +5113,16 @@ struct + -284 (ECPG_INFORMIX_SUBSELECT_NOT_ONE) + + + A result of the subquery is not single row (Informix compatibie mode). + (SQLSTATE 21000) + + + + + -400 (ECPG_PGSQL) @@ -5053,15 +5155,80 @@ struct - 100 (ECPG_NOT_FOUND) + -403 (ECPG_DUPLICATE_KEY) - This is a harmless condition indicating that the last command - retrieved or processed zero rows, or that you are at the end of - the cursor. (SQLSTATE 02000) + Duplicate key error, and a violation for the unique + constraint. + (SQLSTATE 23505) + + + + + + -404 (ECPG_SUBSELECT_NOT_ONE) + + + A result for the subquery is not single row. (SQLSTATE 21000) + + + + + + -600 (ECPG_WARNING_UNRECOGNIZED) + + + A query is ignored by the END. + + + + + + -601 (ECPG_WARNING_QUERY_IGNORED) + + + Current transaction is aborted. Query is ignored by end of the + transaction block. + + + + + + -602 (ECPG_WARNING_UNKNOWN_PORTAL) + + + Invalid cursor name is given. (SQLSTATE 34000) + + + + + + -603 (ECPG_WARNING_IN_TRANSACTION) + + + Transaction is in progress. (SQLSTATE 25001) + + + + + + -604 (ECPG_WARNING_NO_TRANSACTION) + + + There is no active (in-progress) transaction. (SQLSTATE 25P01) + + + -605 (ECPG_WARNING_PORTAL_EXISTS) + + + An existing cursor name is specified. (SQLSTATE 42P03) + + + +