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

Commit125a5b9

Browse files
committed
Clarify to the translator that plpgsql_yyerror() deals with the translation
of "syntax error", not the literal string.This same change was made in the backend a while ago; but it applies toplpgsql as well.
1 parent15a3fe6 commit125a5b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/pl/plpgsql/src/scan.l

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/scan.l,v 1.69 2009/04/19 21:50:09 tgl Exp $
12+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/scan.l,v 1.70 2009/06/10 22:34:11 petere Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -441,7 +441,7 @@ plpgsql_yyerror(const char *message)
441441
{
442442
ereport(ERROR,
443443
(errcode(ERRCODE_SYNTAX_ERROR),
444-
/* translator: %s is typically "syntax error" */
444+
/* translator: %s is typicallythe translation of"syntax error" */
445445
errmsg("%s at end of input",_(message)),
446446
internalerrposition(cursorpos),
447447
internalerrquery(scanstr)));
@@ -450,7 +450,7 @@ plpgsql_yyerror(const char *message)
450450
{
451451
ereport(ERROR,
452452
(errcode(ERRCODE_SYNTAX_ERROR),
453-
/* translator: first %s is typically "syntax error" */
453+
/* translator: first %s is typicallythe translation of"syntax error" */
454454
errmsg("%s at or near\"%s\"",_(message), loc),
455455
internalerrposition(cursorpos),
456456
internalerrquery(scanstr)));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp