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

Commit8179d1b

Browse files
committed
Fix translation markers
Conditionals cannot be inside gettext trigger functions, they must beapplied outside.
1 parent8fa09a1 commit8179d1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/parser/parse_expr.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3257,9 +3257,9 @@ transformJsonValueExpr(ParseState *pstate, const char *constructName,
32573257
if (exprtype!=BYTEAOID&&typcategory!=TYPCATEGORY_STRING)
32583258
ereport(ERROR,
32593259
errcode(ERRCODE_DATATYPE_MISMATCH),
3260-
errmsg(ve->format->format_type==JS_FORMAT_DEFAULT ?
3261-
"cannot use non-string types with implicit FORMAT JSON clause" :
3262-
"cannot use non-string types with explicit FORMAT JSON clause"),
3260+
ve->format->format_type==JS_FORMAT_DEFAULT ?
3261+
errmsg("cannot use non-string types with implicit FORMAT JSON clause") :
3262+
errmsg("cannot use non-string types with explicit FORMAT JSON clause"),
32633263
parser_errposition(pstate,ve->format->location >=0 ?
32643264
ve->format->location :location));
32653265

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp