From: Peter Eisentraut Date: Fri, 30 Jan 2009 12:53:43 +0000 (+0000) Subject: Make messages consistent with existing ones X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=901d0beff5992f1bf3db8ebaad49b520ffc1fdf2;p=users%2Fsimon%2Fpostgres.git Make messages consistent with existing ones --- diff --git a/src/interfaces/ecpg/preproc/ecpg.addons b/src/interfaces/ecpg/preproc/ecpg.addons index d72270bf9b..08fa497cf0 100644 --- a/src/interfaces/ecpg/preproc/ecpg.addons +++ b/src/interfaces/ecpg/preproc/ecpg.addons @@ -369,10 +369,10 @@ ECPG: FetchStmtMOVEname rule } ECPG: SpecialRuleRelationOLD addon if (!QueryIsRule) - mmerror(PARSE_ERROR, ET_ERROR, "OLD used in a query that is not in a rule"); + mmerror(PARSE_ERROR, ET_ERROR, "OLD used in query that is not in a rule"); ECPG: SpecialRuleRelationNEW addon if (!QueryIsRule) - mmerror(PARSE_ERROR, ET_ERROR, "NEW used in a query that is not in a rule"); + mmerror(PARSE_ERROR, ET_ERROR, "NEW used in query that is not in a rule"); ECPG: select_limitLIMITselect_limit_value','select_offset_value block { mmerror(PARSE_ERROR, ET_WARNING, "no longer supported LIMIT #,# syntax passed to server"); diff --git a/src/interfaces/ecpg/preproc/ecpg.trailer b/src/interfaces/ecpg/preproc/ecpg.trailer index 3f578de5d0..6f97d679ed 100644 --- a/src/interfaces/ecpg/preproc/ecpg.trailer +++ b/src/interfaces/ecpg/preproc/ecpg.trailer @@ -1277,7 +1277,7 @@ ECPGVar: SQL_VAR default: if (atoi(length) >= 0) - mmerror(PARSE_ERROR, ET_ERROR, "no multidimensional array support for simple data types"); + mmerror(PARSE_ERROR, ET_ERROR, "multidimensional arrays for simple data types are not supported"); if (atoi(dimension) < 0) type = ECPGmake_simple_type($5.type_enum, make_str("1"), 0); @@ -1791,7 +1791,7 @@ cvariable: CVARIABLE { case '[': if (brace) - mmerror(PARSE_ERROR, ET_FATAL, "no multidimensional array support for simple data types"); + mmerror(PARSE_ERROR, ET_FATAL, "multidimensional arrays for simple data types are not supported"); brace_open++; break; case ']':