1
- /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/type.c,v 1.90 2010/04/01 10:30:53 meskes Exp $ */
1
+ /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/type.c,v 1.91 2010/04/02 10:27:45 meskes Exp $ */
2
2
3
3
#include "postgres_fe.h"
4
4
@@ -258,7 +258,7 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type, const int bra
258
258
(var -> type -> type_name && !type -> type_name ) ||
259
259
(!var -> type -> type_name && type -> type_name ) ||
260
260
(var -> type -> type_name && type -> type_name && strcmp (var -> type -> type_name , type -> type_name )))
261
- mmerror (PARSE_ERROR , ET_FATAL , "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 );
262
262
else if (var -> brace_level != brace_level )
263
263
mmerror (PARSE_ERROR , ET_WARNING , "variable (%s) is hidden by a local variable" , name );
264
264
@@ -272,7 +272,7 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type, const int bra
272
272
(var -> type -> type_name && !ind_type -> type_name ) ||
273
273
(!var -> type -> type_name && ind_type -> type_name ) ||
274
274
(var -> type -> type_name && ind_type -> type_name && strcmp (var -> type -> type_name , ind_type -> type_name )))
275
- mmerror (PARSE_ERROR , ET_FATAL , "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 );
276
276
else if (var -> brace_level != ind_brace_level )
277
277
mmerror (PARSE_ERROR , ET_WARNING , "indicator variable (%s) is hidden by a local variable" , ind_name );
278
278
}
0 commit comments