Re: trouble with to_char('L')

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Mikko <mhannesy(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: trouble with to_char('L')
Date: 2009-04-22 21:35:28
Message-ID: 49EF8DA0.90008@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
>> Does this imply that we shouldn't allow UTF8 database on Windows at all?
>
> That would be pretty unfortunate :-(
>
> I think what this suggests is that there probably needs to be some
> encoding conversion logic near the places we examine localeconv()
> output.

Attached is a patch to the current CVS.
It uses a similar way like LC_TIME stuff does.

regards,
Hiroshi Inoue

Attachment Content-Type Size
pg_locale_20090423.patch text/plain 3.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-04-22 21:44:19 Re: Prepared transactions vs novice DBAs, again
Previous Message Robert Haas 2009-04-22 21:15:11 Re: Prepared transactions vs novice DBAs, again

Browse pgsql-general by date

  From Date Subject
Next Message zach cruise 2009-04-22 21:36:25 how to search for relation by name?
Previous Message Filip Rembiałkowski 2009-04-22 20:58:04 Re: Help request to improve function performance