*** pgsql.orig/doc/src/sgml/ecpg.sgml 2010-09-28 07:34:12.000000000 +0900 --- pgsql/doc/src/sgml/ecpg.sgml 2010-09-28 07:46:19.000000000 +0900 *************** *** 4794,4804 **** -12 (ECPG_OUT_OF_MEMORY) ! Indicates that your virtual memory is exhausted. (SQLSTATE ! YE001) --- 4794,4824 ---- + 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, defined as `-ENOMEM'. ! (SQLSTATE YE001) *************** *** 4886,4891 **** --- 4906,4959 ---- + -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,4944 **** --- 5007,5024 ---- + -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,4974 **** --- 5049,5066 ---- + -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,5026 **** --- 5113,5128 ---- + -284 (ECPG_INFORMIX_SUBSELECT_NOT_ONE) + + + A result of the subquery is not single row (Informix compatibie mode). + (SQLSTATE 21000) + + + + + -400 (ECPG_PGSQL) *************** *** 5053,5067 **** ! 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) --- 5155,5234 ---- ! -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) + + + +