Re: postgresql package and error message translations

2008-05-15 Thread Dmitry Teslenko
On Thu, May 15, 2008 at 12:58 AM, Reini Urban <[EMAIL PROTECTED]> wrote:
> Dmitry Teslenko schrieb:
> 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

Wiping out all nazi crap from /usr/share/locale works fine!
Big thanks!

--
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/



Re: postgresql package and error message translations

2008-05-14 Thread Reini Urban

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/



Re: postgresql package and error message translations

2008-05-14 Thread Larry Hall (Cygwin)

Dmitry Teslenko wrote:

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?


Sounds to me like you have a non-Cygwin version of 'psql' somewhere.  Look
around.  If you don't have a non-Cygwin version and want to follow-up with
your problem on this list, please read and follow the problem reporting
guidelines outlined here:



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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/



postgresql package and error message translations

2008-05-14 Thread Dmitry Teslenko
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?

--
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/