pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #9793: to_number wrong convertion
4+ messages / 3 participants
[nested] [flat]
* BUG #9793: to_number wrong convertion
@ 2014-03-30 19:58 info@gevnet.nl
0 siblings, 1 reply; 4+ messages in thread
From: info@gevnet.nl @ 2014-03-30 19:58 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 9793
Logged by: George
Email address: info@gevnet.nl
PostgreSQL version: 9.3.1
Operating system: Windows 7
Description:
Hi,
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.
Thanks,
George
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #9793: to_number wrong convertion
@ 2014-03-31 15:15 Tom Lane <tgl@sss.pgh.pa.us>
parent: info@gevnet.nl
0 siblings, 1 reply; 4+ messages in thread
From: Tom Lane @ 2014-03-31 15:15 UTC (permalink / raw)
To: info@gevnet.nl; +Cc: pgsql-bugs
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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #9793: to_number wrong convertion
@ 2014-03-31 15:25 GEV.NET <info@gevnet.nl>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: GEV.NET @ 2014-03-31 15:25 UTC (permalink / raw)
To: 'Tom Lane' <tgl@sss.pgh.pa.us>; +Cc: pgsql-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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #9793: to_number wrong convertion
@ 2014-03-31 15:29 Tom Lane <tgl@sss.pgh.pa.us>
parent: GEV.NET <info@gevnet.nl>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2014-03-31 15:29 UTC (permalink / raw)
To: GEV.NET <info@gevnet.nl>; +Cc: pgsql-bugs
"GEV.NET" <info@gevnet.nl> writes:
> I am installing with the default settings so it is automatically local
> settings right ?
Well, that's unproven. Did you actually do "show lc_numeric" on either
server?
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2014-03-31 15:29 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-03-30 19:58 BUG #9793: to_number wrong convertion info@gevnet.nl
2014-03-31 15:15 ` Tom Lane <tgl@sss.pgh.pa.us>
2014-03-31 15:25 ` GEV.NET <info@gevnet.nl>
2014-03-31 15:29 ` Tom Lane <tgl@sss.pgh.pa.us>
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