*** ecpg.sgml.orig 2010-05-13 09:55:05.000000000 +0900 --- ecpg.sgml 2010-08-10 12:21:42.000000000 +0900 *************** *** 4791,4796 **** --- 4791,4816 ---- + 0 (ECPG_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) *************** *** 4883,4889 **** ! -207 (ECPG_CONVERT_BOOL) This means the host variable is of type bool and --- 4903,4957 ---- ! -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) This means the host variable is of type bool and *************** *** 4894,4900 **** ! -208 (ECPG_EMPTY) The statement sent to the PostgreSQL --- 4962,4968 ---- ! -212 (ECPG_EMPTY) The statement sent to the PostgreSQL *************** *** 4906,4912 **** ! -209 (ECPG_MISSING_INDICATOR) A null value was returned and no null indicator variable was --- 4974,4980 ---- ! -213 (ECPG_MISSING_INDICATOR) A null value was returned and no null indicator variable was *************** *** 4916,4922 **** ! -210 (ECPG_NO_ARRAY) An ordinary variable was used in a place that requires an --- 4984,4990 ---- ! -214 (ECPG_NO_ARRAY) An ordinary variable was used in a place that requires an *************** *** 4926,4932 **** ! -211 (ECPG_DATA_NOT_ARRAY) The database returned an ordinary variable in a place that --- 4994,5000 ---- ! -215 (ECPG_DATA_NOT_ARRAY) The database returned an ordinary variable in a place that *************** *** 4936,4941 **** --- 5004,5021 ---- + -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) *************** *** 4966,4971 **** --- 5046,5063 ---- + -239 (ECPG_INFORMIX_DUPLICATE_KEY) + + + Duplicate key error, and a violation for the unique + constraint (Informix compatible mode). + (SQLSTATE 23505) + + + + + + -240 (ECPG_UNKNOWN_DESCRIPTOR) *************** *** 5018,5023 **** --- 5110,5125 ---- + -284 (ECPG_INFORMIX_SUBSELECT_NOT_ONE) + + + A result of the subquery is not single row (Informix compatibie mode). + (SQLSTATE 21000) + + + + + -400 (ECPG_PGSQL) *************** *** 5050,5064 **** ! 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) --- 5152,5231 ---- ! -403 (ECPG_DUPLICATE_KEY) ! 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) + + + +