1- /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/type.c,v 1.91 2010/04/02 10:27:45 meskes Exp $ */
1+ /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/type.c,v 1.92 2010/04/03 07:53:29 petere Exp $ */
22
33#include "postgres_fe.h"
44
@@ -258,9 +258,9 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type, const int bra
258258(var -> type -> type_name && !type -> type_name )||
259259(!var -> type -> type_name && type -> type_name )||
260260(var -> type -> type_name && type -> type_name && strcmp (var -> type -> type_name ,type -> type_name )))
261- mmerror (PARSE_ERROR ,ET_ERROR ,"variable(%s) is hidden by a local variable of a different type" ,name );
261+ mmerror (PARSE_ERROR ,ET_ERROR ,"variable\"%s\" is hidden by a local variable of a different type" ,name );
262262else if (var -> brace_level != brace_level )
263- mmerror (PARSE_ERROR ,ET_WARNING ,"variable(%s) is hidden by a local variable" ,name );
263+ mmerror (PARSE_ERROR ,ET_WARNING ,"variable\"%s\" is hidden by a local variable" ,name );
264264
265265if (ind_name && ind_type && ind_type -> type != ECPGt_NO_INDICATOR && ind_brace_level >=0 )
266266{
@@ -272,9 +272,9 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type, const int bra
272272(var -> type -> type_name && !ind_type -> type_name )||
273273(!var -> type -> type_name && ind_type -> type_name )||
274274(var -> type -> type_name && ind_type -> type_name && strcmp (var -> type -> type_name ,ind_type -> type_name )))
275- mmerror (PARSE_ERROR ,ET_ERROR ,"indicator variable(%s) is hidden by a local variable of a different type" ,ind_name );
275+ mmerror (PARSE_ERROR ,ET_ERROR ,"indicator variable\"%s\" is hidden by a local variable of a different type" ,ind_name );
276276else if (var -> brace_level != ind_brace_level )
277- mmerror (PARSE_ERROR ,ET_WARNING ,"indicator variable(%s) is hidden by a local variable" ,ind_name );
277+ mmerror (PARSE_ERROR ,ET_WARNING ,"indicator variable\"%s\" is hidden by a local variable" ,ind_name );
278278}
279279}
280280