Re: psql language

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Stuart McGraw" <smcg2297(at)frii(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql language
Date: 2009-07-10 14:26:32
Message-ID: 540740644E9D4387ADE20C63A12BB726@HIRO57887DE653
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Stuart-san.

Is the state where you wish this?

==== example ====
C:\Program Files\PostgreSQL\8.4\bin>psql -p 5433 postgres postgres
psql (8.4.0)
"help" でヘルプを表示します.

C:\Program Files\PostgreSQL\8.4\bin>set LANG=C

C:\Program Files\PostgreSQL\8.4\bin>psql -p 5433 postgres postgres
psql (8.4.0)
Type "help" for help.

Have I missed something?

Regards,
Hiroshi Saito

----- Original Message -----
From: "Stuart McGraw" <smcg2297(at)frii(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Friday, July 10, 2009 11:00 AM
Subject: [GENERAL] psql language

> Hello,
>
> I just installed pg-8.4 on Windows XP but ran into
> some unexpected problems.
>
> I am working on some tools to aid English-speaking learners of Japanese. This of course requires
> me
> to regularly display and enter Japanese text on my machine, so I have the Regional setting,
> "Language
> for non-unicode programs" set to Japanese although
> the locale language is English. This allows me to
> to work with both english and japanese text in the
> windows console (cmd.exe) just fine. Psql also worked fine until 8.4.
>
> With 8.4 though, psql presents messages in Japanese.
> Since I am still a beginner at Japanese myself, this
> is a problem.
>
> FWIW, I tried doing "SET LANGUAGE en_US" and
> with every other locale-related variable "LC_ALL",
> "LANG", "LC_MESSAGES", etc, I could think of,
> before running psql but with no effect.
>
> How can I tell psql (and any other command line tools) to use english messages?
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-07-10 14:27:41 Re: Checkpoint Tuning Question
Previous Message Simon Riggs 2009-07-10 14:00:47 Re: Overhead of union versus union all