diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2016-10-27 12:00:00 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2016-10-27 18:43:46 -0400 |
commit | ce4dc970560a25d4f7091a6e9ce8c6e1f25d55c9 (patch) | |
tree | 3cfe012915bd661331a55a95aa20188c71c65c96 /src | |
parent | eaed88ce120746b3004225252f52d8c79fea2f58 (diff) | |
download | postgresql-ce4dc970560a25d4f7091a6e9ce8c6e1f25d55c9.tar.gz postgresql-ce4dc970560a25d4f7091a6e9ce8c6e1f25d55c9.zip |
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.
Diffstat (limited to 'src')
-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 915821a4e91..fa4f74d6107 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 <pgsql-bugs@postgresql.org>."))); + (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 <pgsql-bugs@postgresql.org>."))); + ctype, sys))); #endif } |