Tom Lane wrote:
Heikki Linnakangas [EMAIL PROTECTED] writes:
Looking closer, I don't understand how that change was supposed to do
anything.
The point of that patch is to avoid an off-by-one result for years BC.
The direction of rounding in integer division with a negative numerator
is
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
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.
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
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
Thank you. Is there any reason why JP locale files are not in normal
installation?
-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]
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) differently than
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 2008
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 the
Hmm, interestingly you lost the diacritics here. The output
is mangled for Saturday and Wednesday, which should read
Sábado and Miércoles
respectively.
It is not good that the system allows you to output invalidly
encoded data. What happens if you try setting lc_messages to
Hi.
Um, my screen shot is looking at the problem.
..
set LC_MESSAGES='de_DE.UTF-8';
.. it is not Japanese..however, result is Japanese message.
From: Gevik Babakhani [EMAIL PROTECTED]
Thank you. Is there any reason why JP locale files are not in normal
installation?
-Original
11 matches
Mail list logo