diff -r a/src/backend/utils/mb/mbutils.c b/src/backend/utils/mb/mbutils.c
917a918,929
> 
> 			/*
> 			 * On some environment (at least glibc on Linux), strings returned
> 			 * from strerror() become "???" if gettext() called by strerror()
> 			 * cannot convert messages in the catalog for strerror() to the
> 			 * codeset specified by LC_CTYPE. To convert those messages to the
> 			 * database encoding, we need to do a kludge -- set the codeset
> 			 * for an undocumented catalog "libc".	We ignore the failure
> 			 * because the catalog name may not be correct on all
> 			 * environments.
> 			 */
> 			bind_textdomain_codeset("libc", pg_enc2gettext_tbl[i].name);
