This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15940] strerror() returns useless string "???" in a typical use of PostgreSQL
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 13 Jun 2014 12:56:00 +0000
- Subject: [Bug libc/15940] strerror() returns useless string "???" in a typical use of PostgreSQL
- Auto-submitted: auto-generated
- References: <bug-15940-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15940
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |fweimer at redhat dot com
Resolution|--- |WORKSFORME
Flags| |security-
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
I think this is a configuration errorâan LC_MESSAGES setting with an LC_CTYPE
setting which does not allow encoding those messages is broken. I think I
understand how PostgreSQL ends up with these settings, but this is a special
use case that probably should be addressed within PostgreSQL itself.
Applications should mitigate this by reporting the E* constant in addition to
the translated error message. This is important for processing bug reports by
those who cannot read the LC_MESSAGES language.
--
You are receiving this mail because:
You are on the CC list for the bug.