X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 919F69DCA07 for ; Thu, 19 Jan 2006 11:39:52 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38093-09 for ; Thu, 19 Jan 2006 11:39:57 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 32F4D9DC99B for ; Thu, 19 Jan 2006 11:39:50 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k0JFdrZQ016524; Thu, 19 Jan 2006 10:39:53 -0500 (EST) To: "lothar.behrens@lollisoft.de" cc: pgsql-odbc@postgresql.org Subject: Re: How to detect float format by passing SQL_CHAR to float column ? In-reply-to: <1137684429.653275.89500@o13g2000cwo.googlegroups.com> References: <1137684429.653275.89500@o13g2000cwo.googlegroups.com> Comments: In-reply-to "lothar.behrens@lollisoft.de" message dated "19 Jan 2006 07:27:09 -0800" Date: Thu, 19 Jan 2006 10:39:53 -0500 Message-ID: <16523.1137685193@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.092 required=5 tests=[AWL=0.092] X-Spam-Score: 0.092 X-Spam-Level: X-Archive-Number: 200601/187 X-Sequence-Number: 7002 "lothar.behrens@lollisoft.de" writes: > as the documentation of postgresql, there is a floating point format > like 10.1234 but I do not see > 10,1234. Is that ever like the documentation ? No, we deliberately do not support locale-dependent numeric styles. At least not in simple data entry --- IIRC, you can convert such strings with to_char()/to_number(). regards, tom lane