postgresql package and error message translations

Reini Urban rurban@x-ray.at
Wed May 14 21:01:00 GMT 2008


Dmitry Teslenko schrieb:
> Hello!
> I use postgresql tools such as psql, pg_dump, etc.
> If I invoke them as "/bin/psql" they product error (and probably other) messages
> in english; but if I invoke them as "psql" or "/usr/bin/psql" they
> produce messages
> in my native language (russian) in koi8-r encoding and windows' default encoding
> for text in my native language is cp1251 (or windows-1251). That means I get
> garbage in terminal.
> I've chosen unix file format when installing cygwin and problem
> described can be
> observed with both "current" and "experimental" versions of cygwin packages.
> I have no interest in error messages in my native language so is there way
> to turn them off once and for all?

That's an expensive feature you are annoyed at :)
export LC_MESSAGES=C
should do it theoretically.

However for me it didn't work.
You can delete or rename your locale catalog as last ressort.
   /usr/share/locale/ru/LC_MESSAGES/psql.mo
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list