X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3F755DBA3F for ; Sat, 26 Nov 2005 19:08:04 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27532-08 for ; Sat, 26 Nov 2005 23:08:06 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by svr1.postgresql.org (Postfix) with ESMTP id AAE01DA86D for ; Sat, 26 Nov 2005 19:08:00 -0400 (AST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Eg99F-0004ro-Qf; Sun, 27 Nov 2005 12:08:01 +1300 Message-ID: <4388EAD1.3050603@opencloud.com> Date: Sun, 27 Nov 2005 12:08:01 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: wu xiao CC: "pgsql-jdbc@postgresql.org" Subject: [Fwd: I found a bug in postgresql8.0.3] Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.806 required=5 tests=[AWL=-0.806, DEAR_SOMETHING=1.612] X-Spam-Score: 0.806 X-Spam-Level: X-Archive-Number: 200511/214 X-Sequence-Number: 14312 Please send this sort of problem to the pgsql-jdbc list (I have CC'd the list in this email), not directly to me. -O -------- Original Message -------- Subject: I found a bug in postgresql8.0.3 Date: Sat, 26 Nov 2005 16:45:17 +0000 From: wu xiao To: oliver@opencloud.com Dear sir, I am a Chinese Software Engineer. I can not run any sql sentences related money data type, if I set "locale" to "China, Pepoles Republic of", when I setup the postgresql. There would be an error when I run, "insert into food values ('abc','2.55')", where '2.55' is set to a money type. But there is no error if I run this sql in the environment, whose "locale" is set to default value of "C". It is a bug in postgresql! I am not sure there is the same issue when I set "local" to other language. Cheers. wuxiao