diff options
author | Peter Eisentraut | 2016-10-27 16:00:00 +0000 |
---|---|---|
committer | Peter Eisentraut | 2016-10-27 22:43:46 +0000 |
commit | ce4dc970560a25d4f7091a6e9ce8c6e1f25d55c9 (patch) | |
tree | 3cfe012915bd661331a55a95aa20188c71c65c96 | |
parent | eaed88ce120746b3004225252f52d8c79fea2f58 (diff) |
Remove invitation to report a bug about unknown encoding
The error message when we couldn't determine the encoding from a locale
said to report a bug about that. That might have been appropriate when
this code was first added, but by now this works pretty solidly and any
encodings we don't recognize we probably just don't support. We still
print the warning, but no longer invite the bug report.
-rw-r--r-- | src/port/chklocale.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/port/chklocale.c b/src/port/chklocale.c index 915821a4e9..fa4f74d610 100644 --- a/src/port/chklocale.c +++ b/src/port/chklocale.c @@ -290,8 +290,7 @@ pg_codepage_to_encoding(UINT cp) return encoding_match_list[i].pg_enc_code; ereport(WARNING, - (errmsg("could not determine encoding for codeset \"%s\"", sys), - errdetail("Please report this to <[email protected]>."))); + (errmsg("could not determine encoding for codeset \"%s\"", sys))); return -1; } @@ -419,8 +418,7 @@ pg_get_encoding_from_locale(const char *ctype, bool write_message) #else ereport(WARNING, (errmsg("could not determine encoding for locale \"%s\": codeset is \"%s\"", - ctype, sys), - errdetail("Please report this to <[email protected]>."))); + ctype, sys))); #endif } |