Added to Win32 TODO:
o Fix MSVC NLS support, like for to_char()
http://archives.postgresql.org/pgsql-hackers/2008-02/msg00485.php
http://archives.postgresql.org/pgsql-patches/2008-02/msg00038.php
--
tallation?
-Original Message-
From: Hiroshi Saito [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 8:00 PM
To: Magnus Hagander; Gevik Babakhani
Cc: pgsql-patches@postgresql.org
Subject: Re: [PATCHES] Fix for 8.3 MSVC locale (Was [HACKERS]
NLS on MSVC strikes back!)
Hi.
Sor
Alvaro Herrera <[EMAIL PROTECTED]> writes:
> Ideally, it should be an error to set lc_messages to a value that's not
> compatible with the current encoding. Do we do that currently elsewhere?
We don't currently enforce that, and I'm not sure it's possible to do so
on non-Windows machines. AFAIR
Gevik Babakhani wrote:
> gevik=# set lc_messages to 'Spanish_Spain';
> SET
> gevik=# select to_char((current_date + s.a),'TMDay TMMonth ') as dates
> from generate_series(0,6) as s(a);
> dates
> ---
> Jueves Febrero 2008
> Viernes Febrero 2008
> Sbado Febrero 2
> We have a directive called WIN32_ONLY_COMPILER that's used for this.
> It'll pick up MSVC and Borland C++ which normally behave at
> least almost the same.
>
>
> > I am installing mingw to test the patch there. Chances are
> it will break
> > because mingw does __declspec(dllimport) differen
g
> Subject: Re: [PATCHES] Fix for 8.3 MSVC locale (Was [HACKERS]
> NLS on MSVC strikes back!)
>
> Hi.
>
> Sorry, I don't understand the point of this patch.
> However, reality was confirmed.
>
> I use "initdb -E UTF-8 --no-locale"
> Gevik-san patch ap
Gevik Babakhani wrote:
Haven't looked into the details of the patch yet, will do so.
But the first thing I notice - you say this is only for MSVC,
right? But the patch will also change the behaviour for the
mingw build. Since you say you haven't tested on it, does the
documentation imply that
> Haven't looked into the details of the patch yet, will do so.
> But the first thing I notice - you say this is only for MSVC,
> right? But the patch will also change the behaviour for the
> mingw build. Since you say you haven't tested on it, does the
> documentation imply that it would work
Hi.
Sorry, I don't understand the point of this patch.
However, reality was confirmed.
I use "initdb -E UTF-8 --no-locale"
Gevik-san patch apply it. (So, ja is not contained.)
http://winpg.jp/~saito/pg_work/LC_MESSAGE_CHECK/Gevik_afterpatch.png
Were you changeful before and after the correcti
Gevik Babakhani wrote:
Hereby a patch that fixes NLS support on PG 8.3 compiled with MSVC.
Haven't looked into the details of the patch yet, will do so. But the
first thing I notice - you say this is only for MSVC, right? But the
patch will also change the behaviour for the mingw build. Since
Hereby a patch that fixes NLS support on PG 8.3 compiled with MSVC.
There problem:
NLS support does not work on PG 8.3 compiled with MSVC.
I encountered this bug when I was trying to show localized months and days
using TO_CHAR.
The main reason for this problem is because Gettext on Windows doe
11 matches
Mail list logo