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

From Hiroshi Saito
Subject Re: initdb of regression test failed.
Date
Msg-id 05c901c805e1$0c1878d0$0b01a8c0@yourc3ftrhkaod
Whole thread Raw
In response to Re: initdb of regression test failed.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Hi.

----- Original Message -----
From: "ITAGAKI Takahiro" <itagaki.takahiro@oss.ntt.co.jp>
>
> "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> wrote:
>
>> Ah Ok, Please check it.
>
> Your patch looks useful to prevent mismatch of encoding and locale on Windows,
> but I found there is a limitation that user will not able to specify locale.
> I added an alternative of nl_langinfo(CODESET) for Win32.
>
> Please check following commands:
> initdb --encoding=EUC_jp --locale=Japanese_Japan.932
>   vs.
> initdb --encoding=EUC_jp --locale=Japanese_Japan.20932
>
>
> One problem is that user need to know codepage numbers. It might
> be possible to replace the default codepage to server encodings
> automatically if we have a mapping table from encoding to codepage.

Yes, I  think your approach looks very good. Then, It seems that it is necessary
to consider an original initial value problem again. I consider a document publication
or management. Anyway, Thanks.

Regards,
Hiroshi Saito

pgsql-patches by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: OpenSSL Applink
Next
From: Tom Lane
Date:
Subject: Re: initdb of regression test failed.