Commit 19afb4e8 authored by Peter Eisentraut's avatar Peter Eisentraut

Wordsmithing

parent cc02b5ef
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.21 2009/01/15 11:52:55 petere Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.22 2009/01/16 09:15:03 petere Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
......@@ -106,7 +106,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
snprintf(sqlca->sqlerrm.sqlerrmc, sizeof(sqlca->sqlerrm.sqlerrmc),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext("variable is not an array on line %d"), line);
ecpg_gettext("variable does not have an array type on line %d"), line);
break;
case ECPG_DATA_NOT_ARRAY:
......@@ -120,7 +120,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
snprintf(sqlca->sqlerrm.sqlerrmc, sizeof(sqlca->sqlerrm.sqlerrmc),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext("trying to insert an array of variables on line %d"), line);
ecpg_gettext("inserting an array of variables is not supported on line %d"), line);
break;
case ECPG_NO_CONN:
......@@ -134,7 +134,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
snprintf(sqlca->sqlerrm.sqlerrmc, sizeof(sqlca->sqlerrm.sqlerrmc),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext("not connected to \"%s\" on line %d"), str, line);
ecpg_gettext("not connected to connection \"%s\" on line %d"), str, line);
break;
case ECPG_INVALID_STMT:
......@@ -169,14 +169,14 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
snprintf(sqlca->sqlerrm.sqlerrmc, sizeof(sqlca->sqlerrm.sqlerrmc),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext("variable is not a numeric type on line %d"), line);
ecpg_gettext("variable does not have a numeric type on line %d"), line);
break;
case ECPG_VAR_NOT_CHAR:
snprintf(sqlca->sqlerrm.sqlerrmc, sizeof(sqlca->sqlerrm.sqlerrmc),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext("variable is not a character type on line %d"), line);
ecpg_gettext("variable does not have a character type on line %d"), line);
break;
case ECPG_TRANS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment