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

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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: pg_locale_20100318.patch
Description: application/octet-stream (3.6 KB)

In response to

Responses

pgsql-hackers by date

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

pgsql-general by date

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

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