From: | Stéphane SCHILDKNECHT <sas(at)atosc(dot)org> |
---|---|
To: | postgresql-general mailing list <pgsql-general(at)postgresql(dot)org> |
Subject: | Number format problem |
Date: | 2006-02-03 15:36:23 |
Message-ID: | 43E37877.8050801@atosc.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-patches |
Hi,
There seems to be some tricky behaviour with number formating and french
locale.
I tried the following request:
select to_char(1485.12, '9G999D99');
I was expecting to get: 1 485,12
But, surprinsingly, I got 1,1485,12.
My postgresql server is an 8.1.2 version. The same problem occurs under
Ubuntu Breezy and Debian Testing.
My current configuration is
LC_NUMERIC=fr_FR(at)euro
client_encoding=LATIN9
server_encoding=LATIN9
I tried to reconfigure locales and restart the server, but I can't get
the result I expect.
I really don't know what else I could do.
Sincerely,
--
Stéphane SCHILDKNECHT
Président de PostgreSQLFr
http://www.postgresqlfr.org
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-02-03 15:44:00 | Re: Postgres 7.3.2 -> 8.1.2 upgrade performance issue |
Previous Message | Tom Lane | 2006-02-03 15:35:47 | Re: error calling pgmail function |
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Browne | 2006-02-03 16:09:39 | Re: Multiple logical databases |
Previous Message | Doug McNaught | 2006-02-03 15:29:27 | Re: Multiple logical databases |