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

Commitce4dc97

Browse files
committed
Remove invitation to report a bug about unknown encoding
The error message when we couldn't determine the encoding from a localesaid to report a bug about that. That might have been appropriate whenthis code was first added, but by now this works pretty solidly and anyencodings we don't recognize we probably just don't support. We stillprint the warning, but no longer invite the bug report.
1 parenteaed88c commitce4dc97

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎src/port/chklocale.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,7 @@ pg_codepage_to_encoding(UINT cp)
290290
returnencoding_match_list[i].pg_enc_code;
291291

292292
ereport(WARNING,
293-
(errmsg("could not determine encoding for codeset \"%s\"",sys),
294-
errdetail("Please report this to <pgsql-bugs@postgresql.org>.")));
293+
(errmsg("could not determine encoding for codeset \"%s\"",sys)));
295294

296295
return-1;
297296
}
@@ -419,8 +418,7 @@ pg_get_encoding_from_locale(const char *ctype, bool write_message)
419418
#else
420419
ereport(WARNING,
421420
(errmsg("could not determine encoding for locale \"%s\": codeset is \"%s\"",
422-
ctype,sys),
423-
errdetail("Please report this to <pgsql-bugs@postgresql.org>.")));
421+
ctype,sys)));
424422
#endif
425423
}
426424

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp