diff options
author | Michael Meskes <meskes@postgresql.org> | 2000-03-01 12:49:43 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2000-03-01 12:49:43 +0000 |
commit | 8cb8da38b8acf41b0e5bcb3a13f3adaaaaaa915a (patch) | |
tree | d536300d6f335d5d016200cd1248ff6a9c0bf631 /src/interfaces/ecpg/lib/error.c | |
parent | a50aaa7289732049e1e00cb0e61fd21af2957a83 (diff) | |
download | postgresql-8cb8da38b8acf41b0e5bcb3a13f3adaaaaaa915a.tar.gz postgresql-8cb8da38b8acf41b0e5bcb3a13f3adaaaaaa915a.zip |
*** empty log message ***
Diffstat (limited to 'src/interfaces/ecpg/lib/error.c')
-rw-r--r-- | src/interfaces/ecpg/lib/error.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/lib/error.c b/src/interfaces/ecpg/lib/error.c index aa63fe94397..54e48a55271 100644 --- a/src/interfaces/ecpg/lib/error.c +++ b/src/interfaces/ecpg/lib/error.c @@ -67,6 +67,16 @@ ECPGraise(int line, int code, const char *str) snprintf(sqlca.sqlerrm.sqlerrmc,sizeof(sqlca.sqlerrm.sqlerrmc), "NULL value without indicator in line %d.", line); break; + + case ECPG_NO_ARRAY: + snprintf(sqlca.sqlerrm.sqlerrmc,sizeof(sqlca.sqlerrm.sqlerrmc), + "variable is not an array in line %d.", line); + break; + + case ECPG_DATA_NOT_ARRAY: + snprintf(sqlca.sqlerrm.sqlerrmc,sizeof(sqlca.sqlerrm.sqlerrmc), + "data read from backend is not an array in line %d.", line); + break; case ECPG_NO_CONN: snprintf(sqlca.sqlerrm.sqlerrmc,sizeof(sqlca.sqlerrm.sqlerrmc), |