1- /* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.21 2009/01/15 11:52:55 petere Exp $ */
1+ /* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.22 2009/01/16 09:15:03 petere Exp $ */
22
33#define POSTGRES_ECPG_INTERNAL
44#include "postgres_fe.h"
@@ -106,7 +106,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
106106snprintf (sqlca -> sqlerrm .sqlerrmc ,sizeof (sqlca -> sqlerrm .sqlerrmc ),
107107/* translator: this string will be truncated at 149
108108 characters expanded. */
109- ecpg_gettext ("variableis not an array on line %d" ),line );
109+ ecpg_gettext ("variabledoes nothave an array type on line %d" ),line );
110110break ;
111111
112112case ECPG_DATA_NOT_ARRAY :
@@ -120,7 +120,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
120120snprintf (sqlca -> sqlerrm .sqlerrmc ,sizeof (sqlca -> sqlerrm .sqlerrmc ),
121121/* translator: this string will be truncated at 149
122122 characters expanded. */
123- ecpg_gettext ("trying to insert an array of variables on line %d" ),line );
123+ ecpg_gettext ("inserting an array of variables is not supported on line %d" ),line );
124124break ;
125125
126126case ECPG_NO_CONN :
@@ -134,7 +134,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
134134snprintf (sqlca -> sqlerrm .sqlerrmc ,sizeof (sqlca -> sqlerrm .sqlerrmc ),
135135/* translator: this string will be truncated at 149
136136 characters expanded. */
137- ecpg_gettext ("not connected to \"%s\" on line %d" ),str ,line );
137+ ecpg_gettext ("not connected toconnection \"%s\" on line %d" ),str ,line );
138138break ;
139139
140140case ECPG_INVALID_STMT :
@@ -169,14 +169,14 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
169169snprintf (sqlca -> sqlerrm .sqlerrmc ,sizeof (sqlca -> sqlerrm .sqlerrmc ),
170170/* translator: this string will be truncated at 149
171171 characters expanded. */
172- ecpg_gettext ("variableis not a numeric type on line %d" ),line );
172+ ecpg_gettext ("variabledoes not have a numeric type on line %d" ),line );
173173break ;
174174
175175case ECPG_VAR_NOT_CHAR :
176176snprintf (sqlca -> sqlerrm .sqlerrmc ,sizeof (sqlca -> sqlerrm .sqlerrmc ),
177177/* translator: this string will be truncated at 149
178178 characters expanded. */
179- ecpg_gettext ("variableis not a character type on line %d" ),line );
179+ ecpg_gettext ("variabledoes not have a character type on line %d" ),line );
180180break ;
181181
182182case ECPG_TRANS :