aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2010-04-03 07:53:29 +0000
committerPeter Eisentraut <peter_e@gmx.net>2010-04-03 07:53:29 +0000
commita404a12fb48a7623fb806e98f1f9b12b4443aeb1 (patch)
tree73f20093b7be2b6c29f42f11bb3cac78a1423d03 /src
parenta8af3d1a572c88112d97152d9b318624877547c2 (diff)
downloadpostgresql-a404a12fb48a7623fb806e98f1f9b12b4443aeb1.tar.gz
postgresql-a404a12fb48a7623fb806e98f1f9b12b4443aeb1.zip
Message quoting style tuning
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/preproc/type.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/ecpg/preproc/type.c b/src/interfaces/ecpg/preproc/type.c
index 5d7c35fb478..32fb144a701 100644
--- a/src/interfaces/ecpg/preproc/type.c
+++ b/src/interfaces/ecpg/preproc/type.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/type.c,v 1.91 2010/04/02 10:27:45 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/type.c,v 1.92 2010/04/03 07:53:29 petere Exp $ */
#include "postgres_fe.h"
@@ -258,9 +258,9 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type, const int bra
(var->type->type_name && !type->type_name) ||
(!var->type->type_name && type->type_name) ||
(var->type->type_name && type->type_name && strcmp(var->type->type_name, type->type_name)))
- mmerror(PARSE_ERROR, ET_ERROR, "variable (%s) is hidden by a local variable of a different type", name);
+ mmerror(PARSE_ERROR, ET_ERROR, "variable \"%s\" is hidden by a local variable of a different type", name);
else if (var->brace_level != brace_level)
- mmerror(PARSE_ERROR, ET_WARNING, "variable (%s) is hidden by a local variable", name);
+ mmerror(PARSE_ERROR, ET_WARNING, "variable \"%s\" is hidden by a local variable", name);
if (ind_name && ind_type && ind_type->type != ECPGt_NO_INDICATOR && ind_brace_level >= 0)
{
@@ -272,9 +272,9 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type, const int bra
(var->type->type_name && !ind_type->type_name) ||
(!var->type->type_name && ind_type->type_name) ||
(var->type->type_name && ind_type->type_name && strcmp(var->type->type_name, ind_type->type_name)))
- mmerror(PARSE_ERROR, ET_ERROR, "indicator variable (%s) is hidden by a local variable of a different type", ind_name);
+ mmerror(PARSE_ERROR, ET_ERROR, "indicator variable \"%s\" is hidden by a local variable of a different type", ind_name);
else if (var->brace_level != ind_brace_level)
- mmerror(PARSE_ERROR, ET_WARNING, "indicator variable (%s) is hidden by a local variable", ind_name);
+ mmerror(PARSE_ERROR, ET_WARNING, "indicator variable \"%s\" is hidden by a local variable", ind_name);
}
}