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 E1F17DB9F3 for ; Wed, 23 Nov 2005 07:00:25 -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 42801-07 for ; Wed, 23 Nov 2005 11:00:22 +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 D9B57DB9EF for ; Wed, 23 Nov 2005 07:00:17 -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 1EesMJ-0001wA-Nr; Thu, 24 Nov 2005 00:00:15 +1300 Message-ID: <43844BBC.403@opencloud.com> Date: Thu, 24 Nov 2005 00:00:12 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tjioe Ai Xin CC: Mark Lewis , Kris Jurka , pgsql-jdbc@postgresql.org Subject: Re: Can PostgreSQL do data type automated casting in References: <200511211718.26679.xinxincute@gmail.com> <6F909ADC-23ED-40CF-A2B5-41DE61606A26@fastcrypt.com> <4382E5E0.6080601@opencloud.com> <200511231802.32984.xinxincute@gmail.com> In-Reply-To: <200511231802.32984.xinxincute@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/163 X-Sequence-Number: 14261 Tjioe Ai Xin wrote: > How can I make it default to off? With current drivers you can't. You can try protocolVersion=2 as a workaround as suggested elsewhere but that's a bit of a blunt instrument really. > Does the performance of PostgreSQL drop a lot if I change it? > Especially the speed? You will have to try it with your particular application to find out. Yes, query plans can change, and that may affect performance one way or the other. -O