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 AA94F8BA14C for ; Fri, 11 Feb 2005 11:48:07 +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 84405-05 for ; Fri, 11 Feb 2005 11:47:46 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by svr1.postgresql.org (Postfix) with ESMTP id 5EDD28B9EDD for ; Fri, 11 Feb 2005 11:47:48 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 68so324071wri for ; Fri, 11 Feb 2005 03:47:47 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=pRydFAGr24OsYsvbsQKj3ridQd+IXWc4blvX34PwwJqpfVm4Shl5D/DfzRo2Wp1rbxwaopGUiH5BDWl2aCdv3MHtCAEGZMOLETH19nQIM95aToDzngZjhu2dXwMod5Y2RYKp2nZVov3ZqTHQql0f+IqRvt/rK/l+SkBCDxw4Ajg= Received: by 10.54.41.16 with SMTP id o16mr65348wro; Fri, 11 Feb 2005 03:47:46 -0800 (PST) Received: by 10.54.31.32 with HTTP; Fri, 11 Feb 2005 03:47:46 -0800 (PST) Message-ID: <2989532e050211034710015504@mail.gmail.com> Date: Fri, 11 Feb 2005 17:17:46 +0530 From: Antony Paul Reply-To: Antony Paul To: Markus Schaber Subject: Re: ERROR: column "total_cost" is of type numeric but expression Cc: pgsql-jdbc@postgresql.org In-Reply-To: <420C98F5.1000802@logi-track.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <2989532e050211024126b599f9@mail.gmail.com> <420C90D1.1000405@logi-track.com> <2989532e05021103316848d2a3@mail.gmail.com> <420C98F5.1000802@logi-track.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.544 tagged_above=0 required=5 tests=AWL, FROM_ENDS_IN_NUMS, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200502/88 X-Sequence-Number: 12268 Now I understand why 8.0 drive dont print query parameters in the server log while 7.4 prints query parameters since 8.0 uses real prepared statements. rgds Antony Paul On Fri, 11 Feb 2005 12:37:25 +0100, Markus Schaber wrote: > Hi, Antony, >=20 > Antony Paul schrieb: > > Updating application is going to be a lot of work. If it breaks > > existing applications why it is implemented. I dont think type > > checking is a big thing. What is its use ?. >=20 > I'm not 100% shure, as I'm no jdbc developer, but I think the 8.0 driver > consequently uses server-side prepared statements from V3 protocol, for > speed benefits, and thus needs all typing information. (I do not know > whether it is possible to send untyped parameters via this approach.) >=20 > Markus > -- > markus schaber | dipl. informatiker > logi-track ag | rennweg 14-16 | ch 8001 z=FCrich > phone +41-43-888 62 52 | fax +41-43-888 62 53 > mailto:schabios@logi-track.com | www.logi-track.com >=20 >=20 >