Re: [GENERAL] trouble with to_char('L')

From: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] trouble with to_char('L')
Date: 2010-03-18 03:34:20
Message-ID: 20100318123420.9BAC.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


Bruce Momjian <bruce(at)momjian(dot)us> wrote:

> Takahiro Itagaki wrote:
> > Since 9.0 has GetPlatformEncoding() for the purpose, we could simplify
> > db_encoding_strdup() with the function. Like this:
>
> OK, I don't have any Win32 people testing this patch so if we want this
> fixed for 9.0 someone is going to have to test my patch to see that it
> works. Can you make the adjustments suggested above to my patch and
> test it to see that it works so we can apply it for 9.0?

Here is a full patch that can be applied cleanly to HEAD.
Can anyone test it on Windows?

I'm not sure why temporary changes of lc_ctype was required in the
original patch. The codes are not included in my patch, but please
notice me it is still needed.

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

Attachment Content-Type Size
pg_locale_20100318.patch application/octet-stream 3.6 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ehsan Haq 2010-03-18 12:13:43 definitions of regexp functions required
Previous Message Miguel Angel Hernandez Moreno 2010-03-17 23:27:41 Re: recuperar nodo en estado 3

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2010-03-18 03:42:01 Re: Getting to beta1
Previous Message Bruce Momjian 2010-03-18 03:29:04 Re: Getting to beta1