From: GEV.NET <info@gevnet.nl>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9793: to_number wrong convertion
Date: Mon, 31 Mar 2014 17:25:48 +0200
Message-ID: <000f01cf4cf5$7e519cd0$7af4d670$@nl> (raw)
In-Reply-To: <16306.1396278923@sss.pgh.pa.us>
References: <20140330195833.309.26629@wrigleys.postgresql.org>
<16306.1396278923@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
I am installing with the default settings so it is automatically local
settings right ?
On 1 PC it is 9.2 and its working fine but on the other PC it is 9.3 and it
is not working. Both are installed with default settings and both PC have a
locale NL.
Met vriendelijke groet,
George
Business Park
Lijndonk 4 Unit 1.19
4825 BG Breda
[M]: 06-20626078 [T]: 0767370228
[w]: www.rkassa.nl [E]: info@rkassa.nl
-----Oorspronkelijk bericht-----
Van: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Verzonden: maandag 31 maart 2014 17:15
Aan: info@gevnet.nl
CC: pgsql-bugs@postgresql.org
Onderwerp: Re: [BUGS] BUG #9793: to_number wrong convertion
info@gevnet.nl writes:
> My local is NL, so decimal separator is ',' whene i am calling
> to_number('123,45','999999D99') i am getting 12345 insted of 123.45
> in de numeric filend in the database.
> In 9.2 is working correctly and in 9.3 no mo more.
AFAIK the behavior of that case didn't change in 9.3. Are you sure you have
the locale settings of your database (particularly lc_numeric) the same as
you had in 9.2?
regards, tom lane
-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2014.0.4354 / Virusdatabase: 3722/7273 - datum van uitgifte:
03/30/14
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: info@gevnet.nl, tgl@sss.pgh.pa.us
Subject: Re: BUG #9793: to_number wrong convertion
In-Reply-To: <000f01cf4cf5$7e519cd0$7af4d670$@nl>
References: <20140330195833.309.26629@wrigleys.postgresql.org> <16306.1396278923@sss.pgh.pa.us> <000f01cf4cf5$7e519cd0$7af4d670$@nl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox