Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb629f7

Browse files
committed
Make messages consistent with existing ones
1 parentc05460f commitcb629f7

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 inaquery 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 inaquery 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, "nomultidimensionalarray supportfor simple data types");
1280+
mmerror(PARSE_ERROR, ET_ERROR, "multidimensionalarraysfor 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, "nomultidimensionalarray supportfor simple data types");
1794+
mmerror(PARSE_ERROR, ET_FATAL, "multidimensionalarraysfor simple data types are not supported");
17951795
brace_open++;
17961796
break;
17971797
case ']':

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp