aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-01-30 12:53:43 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-01-30 12:53:43 +0000
commitcb629f72255e19bce3aea3acb13ec2efcc0d47ec (patch)
tree87b72a5f298d10bd8c53db21cdf3f5cf829a4127 /src
parentc05460fe501728ca6adb5a838ac7b4e5a472007e (diff)
downloadpostgresql-cb629f72255e19bce3aea3acb13ec2efcc0d47ec.tar.gz
postgresql-cb629f72255e19bce3aea3acb13ec2efcc0d47ec.zip
Make messages consistent with existing ones
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.addons6
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.trailer6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.addons b/src/interfaces/ecpg/preproc/ecpg.addons
index 9a8bfd5ff95..d864dfbdf7a 100644
--- a/src/interfaces/ecpg/preproc/ecpg.addons
+++ b/src/interfaces/ecpg/preproc/ecpg.addons
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.addons,v 1.3 2009/01/23 12:43:32 petere Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.addons,v 1.4 2009/01/30 12:53:43 petere Exp $ */
ECPG: stmtClosePortalStmt block
{
@@ -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 3d914215ed2..b31f06018a8 100644
--- a/src/interfaces/ecpg/preproc/ecpg.trailer
+++ b/src/interfaces/ecpg/preproc/ecpg.trailer
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.trailer,v 1.5 2009/01/26 10:19:44 petere Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.trailer,v 1.6 2009/01/30 12:53:43 petere Exp $ */
statements: /*EMPTY*/
| statements statement
@@ -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 ']':