Skip to content

Commit ce4dc97

Browse files
committed
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.
1 parent eaed88c commit ce4dc97

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
return encoding_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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy