Re: initdb of regression test failed. - Mailing list pgsql-patches

From Hiroshi Saito
Subject Re: initdb of regression test failed.
Date
Msg-id 083a01c80566$566a76c0$c601a8c0@HP22720319231
Whole thread Raw
In response to initdb of regression test failed.  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Responses Re: initdb of regression test failed.
Re: initdb of regression test failed.
List pgsql-patches
Hi.

From: "Tom Lane" <tgl@sss.pgh.pa.us>


> "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> writes:
>> The database cluster will be initialized with locale Japanese_Japan.932.
>> initdb: could not find suitable encoding for locale "Japanese_Japan.932"
>
> So, what encoding *should* we use for that locale?
>
>> I think this is required....
>
> We are certainly not going to disable pg_regress's ability to test in
> non-C locales.  ISTM a proper fix is an addition to the table in
> src/port/chklocale.c.  This example suggests actually that we need
> a boatload more table entries to handle Windows locale names :-(
> (count on Microsoft to ignore standards...)

Ah Ok, Please check it.

However, This problem....
-
Running in noclean mode.  Mistakes will not be cleaned up.^M
The files belonging to this database system will be owned by user "hiroshi".^M
This user must also own the server process.^M
^M
The database cluster will be initialized with locale Japanese_Japan.932.^M
initdb: locale Japanese_Japan.932 requires unsupported encoding SJIS^M
Encoding SJIS is not allowed as a server-side encoding.^M
Rerun initdb with a different locale selection.^M
Running in noclean mode.  Mistakes will not be cleaned up.^M
-
I think that the check of this server side is the right action.!
I desire the further suggestion....

Regards,
Hiroshi Saito

Attachment

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: minor compiler warning in libpg/fe-secure.c on win32 (msvc)
Next
From: ITAGAKI Takahiro
Date:
Subject: ecpg DllMain fix