Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUdvz-0007hS-8R for pgsql-bugs@arkaria.postgresql.org; Mon, 31 Mar 2014 15:15:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WUdvy-0004ia-EZ for pgsql-bugs@arkaria.postgresql.org; Mon, 31 Mar 2014 15:15:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUdvv-0004ds-8M for pgsql-bugs@postgresql.org; Mon, 31 Mar 2014 15:15:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUdvs-0002fV-N7 for pgsql-bugs@postgresql.org; Mon, 31 Mar 2014 15:15:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s2VFFNCk016307; Mon, 31 Mar 2014 11:15:23 -0400 From: Tom Lane To: info@gevnet.nl cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9793: to_number wrong convertion In-reply-to: <20140330195833.309.26629@wrigleys.postgresql.org> References: <20140330195833.309.26629@wrigleys.postgresql.org> Comments: In-reply-to info@gevnet.nl message dated "Sun, 30 Mar 2014 19:58:33 -0000" Date: Mon, 31 Mar 2014 11:15:23 -0400 Message-ID: <16306.1396278923@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) 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 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