Hiroshi Inoue wrote:
> Bruce Momjian wrote:
> > Hiroshi Inoue wrote:
> >> Bruce Momjian wrote:
> >>> Where are we on this issue?
> >> Oops I forgot it completely.
> >> I have a little improved version and would post it tonight.
> > Ah, very good. Thanks.
> Attached is an improved version.
I spent many hours on this patch and am attaching an updated version.
I have restructured the code and added many comments, but this is the
* Ideally, the server encoding and locale settings would
* always match. Unfortunately, WIN32 does not support UTF-8
* values for setlocale(), even though PostgreSQL runs fine with
* a UTF-8 encoding on Windows:
* Therefore, we must set LC_CTYPE to match LC_NUMERIC and
* LC_MONETARY, call localeconv(), and use mbstowcs() to
* convert the locale-aware string, e.g. Euro symbol, which
* is not in UTF-8 to the server encoding.
I need someone with WIN32 experience to review and test this patch.
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
PG East: http://www.enterprisedb.com/community/nav-pg-east-2010.do
In response to
pgsql-hackers by date
|Next:||From: Greg Smith||Date: 2010-02-28 05:28:17|
|Subject: Re: Hot Standby query cancellation and Streaming Replication
|Previous:||From: Tom Lane||Date: 2010-02-28 04:22:00|
|Subject: Re: Avoiding bad prepared-statement plans. |
pgsql-general by date
|Next:||From: Greg Smith||Date: 2010-02-28 05:18:41|
|Subject: Re: Hung postmaster (8.3.9)|
|Previous:||From: Ed L.||Date: 2010-02-28 03:37:04|
|Subject: Hung postmaster (8.3.9)|