Skip site navigation (1) Skip section navigation (2)

Re: initdb of regression test failed.

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: <pgsql-patches(at)postgresql(dot)org>
Cc: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Subject: Re: initdb of regression test failed.
Date: 2007-10-04 04:22:34
Message-ID: 20071004130126.BD13.ITAGAKI.TAKAHIRO@oss.ntt.co.jp (view raw or flat)
Thread:
Lists: pgsql-patches
I wrote:
> I'll suggest to use UTF8 if the encoding is UTF-8 or NOT specified and
> we don't support the locale encoding on Windows, i.e. locale is always
> enabled on regression tests.

Here is a patch to do it on Windows.
  1. Use UTF-8 if the locale encoding is not available for server.
  2. Allow mismatch between server and locale encodings if the server
     encoding is UTF-8.

I succeeded to run regression test on Japanese version of Windows
with the patch, but please test it on other language versions.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center


Attachment: utf8_win32.patch
Description: application/octet-stream (2.6 KB)

In response to

Responses

pgsql-patches by date

Next:From: Hiroshi SaitoDate: 2007-10-04 05:43:51
Subject: Re: initdb of regression test failed.
Previous:From: ITAGAKI TakahiroDate: 2007-10-04 02:43:29
Subject: Re: initdb of regression test failed.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group