X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5CBA98B9B26 for ; Fri, 11 Feb 2005 10:42:15 +0000 (GMT) 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 77058-03 for ; Fri, 11 Feb 2005 10:41:54 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by svr1.postgresql.org (Postfix) with ESMTP id A515E8B9BD6 for ; Fri, 11 Feb 2005 10:41:55 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 68so316608wri for ; Fri, 11 Feb 2005 02:41:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=UISATx/UUL6Eylr33uGhj7kpbr6FdRr1EUYtgUSnb/e+MmZ8be++Vf+HR2LikRC58rwnJM38+bZ6LiFa0JsNe9IQmYQ6Lf9k/mnUX9MHdn+S/gSFwTsh+Z4dbyzDnQl5dkNHqJR9DmnzUerofAI360kRh4zkvj2OoduLKQdEGQ8= Received: by 10.54.35.49 with SMTP id i49mr31225wri; Fri, 11 Feb 2005 02:41:55 -0800 (PST) Received: by 10.54.31.32 with HTTP; Fri, 11 Feb 2005 02:41:55 -0800 (PST) Message-ID: <2989532e050211024126b599f9@mail.gmail.com> Date: Fri, 11 Feb 2005 16:11:55 +0530 From: Antony Paul Reply-To: Antony Paul To: pgsql-jdbc@postgresql.org Subject: ERROR: column "total_cost" is of type numeric but expression is of type character varying Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.545 tagged_above=0 required=5 tests=AWL, FROM_ENDS_IN_NUMS, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200502/80 X-Sequence-Number: 12260 Hi, I am testing PostgreSQL 8.0.1. I compiled and installed it. Downloaded JDBC driver postgresql-8.0-310.jdbc3.jar for JDK 1.4.(I was unable to find it in source) Dumped my 7.3.3 database. Restored it in new installation. Run the application and it gives this error. The error is when I use setString() to insert into a numeric field. I hope it is bug. Otherwise we have to rewrite our application. The error message can be seen in server log also. rgds Antony Paul