Skip to content

Commit cb629f7

Browse files
committed
Make messages consistent with existing ones
1 parent c05460f commit cb629f7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/interfaces/ecpg/preproc/ecpg.addons

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.addons,v 1.3 2009/01/23 12:43:32 petere Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.addons,v 1.4 2009/01/30 12:53:43 petere Exp $ */
22

33
ECPG: stmtClosePortalStmt block
44
{
@@ -369,10 +369,10 @@ ECPG: FetchStmtMOVEname rule
369369
}
370370
ECPG: SpecialRuleRelationOLD addon
371371
if (!QueryIsRule)
372-
mmerror(PARSE_ERROR, ET_ERROR, "OLD used in a query that is not in a rule");
372+
mmerror(PARSE_ERROR, ET_ERROR, "OLD used in query that is not in a rule");
373373
ECPG: SpecialRuleRelationNEW addon
374374
if (!QueryIsRule)
375-
mmerror(PARSE_ERROR, ET_ERROR, "NEW used in a query that is not in a rule");
375+
mmerror(PARSE_ERROR, ET_ERROR, "NEW used in query that is not in a rule");
376376
ECPG: select_limitLIMITselect_limit_value','select_offset_value block
377377
{
378378
mmerror(PARSE_ERROR, ET_WARNING, "no longer supported LIMIT #,# syntax passed to server");

src/interfaces/ecpg/preproc/ecpg.trailer

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.trailer,v 1.5 2009/01/26 10:19:44 petere Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.trailer,v 1.6 2009/01/30 12:53:43 petere Exp $ */
22

33
statements: /*EMPTY*/
44
| statements statement
@@ -1277,7 +1277,7 @@ ECPGVar: SQL_VAR
12771277

12781278
default:
12791279
if (atoi(length) >= 0)
1280-
mmerror(PARSE_ERROR, ET_ERROR, "no multidimensional array support for simple data types");
1280+
mmerror(PARSE_ERROR, ET_ERROR, "multidimensional arrays for simple data types are not supported");
12811281

12821282
if (atoi(dimension) < 0)
12831283
type = ECPGmake_simple_type($5.type_enum, make_str("1"), 0);
@@ -1791,7 +1791,7 @@ cvariable: CVARIABLE
17911791
{
17921792
case '[':
17931793
if (brace)
1794-
mmerror(PARSE_ERROR, ET_FATAL, "no multidimensional array support for simple data types");
1794+
mmerror(PARSE_ERROR, ET_FATAL, "multidimensional arrays for simple data types are not supported");
17951795
brace_open++;
17961796
break;
17971797
case ']':

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy