Thread: Can't start postmaster on Cygwin with local 'ja_JP.EUC

Can't start postmaster on Cygwin with local 'ja_JP.EUC

From
"Tamotsu Ebina"
Date:
Dear Sirs,

I maked postgresql using postgresql-7.3rc1 on WindowsXPProfessional+CygWin,

$ ./configure --enable-multibyte=EUC_JP --enable-locale --with-CXX --with-java
--enable-odbc

with no error.

initdb finished also with no error.

But I can't start postmaster.

$ postmaster  -i&
[2] 472

ebina@HAYAMA02 /usr/local/pgsql/postgresql-7.3rc1
$ FATAL:  invalid value for option 'LC_MESSAGES': 'ja_JP.EUC'

[2]+  Exit 1                  postmaster -i

What shoul'd I do?
(postgresql-7.2.3 works well on Cygwin with same condition.)

Thank you in advance.

Tamo

--
office  ta.ebina@po1.iftc.co.jp  http://www.iftc.co.jp/
Tel +81-3-3360-6514 Fax +81-3-3360-7411
private ebina@pluto.dti.ne.jp  http://www.pluto.dti.ne.jp/~ebina/
[Amateur Radio Station JCG#11007 JA1QKK ] Tamotsu Ebina

Re: Can't start postmaster on Cygwin with local 'ja_JP.EUC

From
Peter Eisentraut
Date:
Tamotsu Ebina writes:

> ebina@HAYAMA02 /usr/local/pgsql/postgresql-7.3rc1
> $ FATAL:  invalid value for option 'LC_MESSAGES': 'ja_JP.EUC'

Set LC_MESSAGES to something that your system supports.  (Since Cygwin
doesn't have locale support anyway, you might as well unset the locale
environment variables.)

--
Peter Eisentraut   peter_e@gmx.net

Re: Can't start postmaster on Cygwin with local 'ja_JP.EUC

From
"Tamotsu Ebina"
Date:
Dear Peter,

I'm very sorry I didn't response for your email quickly.
I commented out locales in postmaster.conf and executed

createdb -E EUC_JP mydb;

After this I can handle Japanese.

PostgreSQL7.2 and 7.3 work well both on Linux8.0 and WidowsXPsp1+Cygwin1.3.17
using Japanese Kanji characters.

Thank you for your help.

Tamo.

----- Original Message -----
From: "Peter Eisentraut" <peter_e@gmx.net>
To: "Tamotsu Ebina" <ta.ebina@po1.iftc.co.jp>
Cc: <pgsql-bugs@postgresql.org>
Sent: Wednesday, November 27, 2002 8:52 AM
Subject: Re: [BUGS] Can't start postmaster on Cygwin with local 'ja_JP.EUC


> Tamotsu Ebina writes:
>
> > ebina@HAYAMA02 /usr/local/pgsql/postgresql-7.3rc1
> > $ FATAL:  invalid value for option 'LC_MESSAGES': 'ja_JP.EUC'
>
> Set LC_MESSAGES to something that your system supports.  (Since Cygwin
> doesn't have locale support anyway, you might as well unset the locale
> environment variables.)
>
> --
> Peter Eisentraut   peter_e@gmx.net
>