Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUpK6-00065D-8h for pgsql-bugs@arkaria.postgresql.org; Tue, 01 Apr 2014 03:25:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WUpK4-0003e3-Tl for pgsql-bugs@arkaria.postgresql.org; Tue, 01 Apr 2014 03:25:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUe5o-00012T-6E for pgsql-bugs@postgresql.org; Mon, 31 Mar 2014 15:25:44 +0000 Received: from mirasoft.net ([85.17.171.129] helo=monster.mirasoft.net) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUe5l-0002vF-D4 for pgsql-bugs@postgresql.org; Mon, 31 Mar 2014 15:25:43 +0000 Received: from [188.207.244.177] (port=53685 helo=RMiniPC) by monster.mirasoft.net with esmtp (Exim 4.82) (envelope-from ) id 1WUe5f-0000pr-SM; Mon, 31 Mar 2014 17:25:35 +0200 From: "GEV.NET" To: "'Tom Lane'" Cc: References: <20140330195833.309.26629@wrigleys.postgresql.org> <16306.1396278923@sss.pgh.pa.us> In-Reply-To: <16306.1396278923@sss.pgh.pa.us> Subject: Re: BUG #9793: to_number wrong convertion Date: Mon, 31 Mar 2014 17:25:48 +0200 Message-ID: <000f01cf4cf5$7e519cd0$7af4d670$@nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac9M9Alfh7dEEAUuRLiXk/xgJGiNpQAAKTXA Content-Language: nl X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - monster.mirasoft.net X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gevnet.nl X-Get-Message-Sender-Via: monster.mirasoft.net: acl_c_relayhosts_text_entry: info@gevnet.nl|gevnet.nl X-Source: X-Source-Args: X-Source-Dir: X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=20 Lijndonk 4=A0=A0 Unit 1.19=A0=A0=A0=A0=A0=A0=A0=A0=20 4825 BG Breda=A0=A0=A0=A0=A0=A0=20 [M]: 06-20626078=A0=A0=A0=A0=A0=A0=A0 [T]:=A0 0767370228=A0=A0=A0=A0=A0 =A0 [w]: www.rkassa.nl=A0=A0=A0=A0=A0=A0 [E]:=A0 info@rkassa.nl -----Oorspronkelijk bericht----- Van: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20 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=20 > 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 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs