Re: [PATCHES] initdb of regression test failed.

2007-10-04 Thread Tom Lane
ITAGAKI Takahiro <[EMAIL PROTECTED]> writes: > The attached is the second plan. It uses UTF-8 and locale=C when > the default locale encoding is not supported and none of encoding and > locale are passed to initdb. It would help users who use the default > settings (including regression test). I'm

Re: [PATCHES] initdb of regression test failed.

2007-10-04 Thread ITAGAKI Takahiro
Tom Lane <[EMAIL PROTECTED]> wrote: > > initdb -E UTF8 --locale=Japanese_Japan.932 -- CP932 is SJIS in nature > > Hmm, but does that really work safely? I think varstr_cmp() does work, > because it forces our data into wchar format and then calls wcscoll(). > The thing that scares me is that

Re: [PATCHES] initdb of regression test failed.

2007-10-04 Thread Hiroshi Saito
Hi Tom-san. This may be mere information... In 8.3, when it has different encoding for every database, a locale requires C. Therefore, I am the reason which desires C by regression test. -- in>initdb -E EUC_JP -D../data --locale=Japanese_Japan.20932 The files belonging to this database system