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

Commit60769c6

Browse files
committed
Fix another warning, introduced by8463110.
Discussion:https://postgr.es/m/3703896.1710799495@sss.pgh.pa.usReported-by: Tom Lane
1 parent8463110 commit60769c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/utils/adt/pg_locale.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,13 +2505,13 @@ pg_strnxfrm_prefix(char *dest, size_t destsize, const char *src,
25052505
int
25062506
builtin_locale_encoding(constchar*locale)
25072507
{
2508-
if (strcmp(locale,"C")==0)
2509-
return-1;
2510-
else
2508+
if (strcmp(locale,"C")!=0)
25112509
ereport(ERROR,
25122510
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
25132511
errmsg("invalid locale name \"%s\" for builtin provider",
25142512
locale)));
2513+
2514+
return-1;
25152515
}
25162516

25172517

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp