Skip to content

Commit 19afb4e

Browse files
committed
Wordsmithing
1 parent cc02b5e commit 19afb4e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/interfaces/ecpg/ecpglib/error.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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)
106106
snprintf(sqlca->sqlerrm.sqlerrmc, sizeof(sqlca->sqlerrm.sqlerrmc),
107107
/* translator: this string will be truncated at 149
108108
characters expanded. */
109-
ecpg_gettext("variable is not an array on line %d"), line);
109+
ecpg_gettext("variable does not have an array type on line %d"), line);
110110
break;
111111

112112
case ECPG_DATA_NOT_ARRAY:
@@ -120,7 +120,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
120120
snprintf(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);
124124
break;
125125

126126
case ECPG_NO_CONN:
@@ -134,7 +134,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
134134
snprintf(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 to connection \"%s\" on line %d"), str, line);
138138
break;
139139

140140
case ECPG_INVALID_STMT:
@@ -169,14 +169,14 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
169169
snprintf(sqlca->sqlerrm.sqlerrmc, sizeof(sqlca->sqlerrm.sqlerrmc),
170170
/* translator: this string will be truncated at 149
171171
characters expanded. */
172-
ecpg_gettext("variable is not a numeric type on line %d"), line);
172+
ecpg_gettext("variable does not have a numeric type on line %d"), line);
173173
break;
174174

175175
case ECPG_VAR_NOT_CHAR:
176176
snprintf(sqlca->sqlerrm.sqlerrmc, sizeof(sqlca->sqlerrm.sqlerrmc),
177177
/* translator: this string will be truncated at 149
178178
characters expanded. */
179-
ecpg_gettext("variable is not a character type on line %d"), line);
179+
ecpg_gettext("variable does not have a character type on line %d"), line);
180180
break;
181181

182182
case ECPG_TRANS:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy