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 DB505DB272 for ; Wed, 23 Nov 2005 06:53:27 -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 42898-02 for ; Wed, 23 Nov 2005 10:53:28 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by svr1.postgresql.org (Postfix) with ESMTP id 8B260DB11A for ; Wed, 23 Nov 2005 06:53:24 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 13so1342151nzn for ; Wed, 23 Nov 2005 02:53:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-disposition:content-type:content-transfer-encoding:message-id; b=gIoHp/I6aqzV9q4ycCuVq5NXzf6Qh4fFU02f2xqJ49A4/vEiBAMEchQjV73vKWv1fFx6rVGKaVwNFedaQjbcCOb9MHx8tODwUQ31FU05v9pHZw6LhuknF3UkP91Xs8hT/6arjBPFiCsBU7P17f9l+6YJcLCzNnSxubAopqoXPes= Received: by 10.36.177.11 with SMTP id z11mr4767141nze; Wed, 23 Nov 2005 02:53:25 -0800 (PST) Received: from tirza.domain ( [222.124.238.3]) by mx.gmail.com with ESMTP id 36sm329539nzk.2005.11.23.02.53.20; Wed, 23 Nov 2005 02:53:25 -0800 (PST) From: Tjioe Ai Xin To: Oliver Jowett Subject: Re: Can PostgreSQL do data type automated casting in Date: Wed, 23 Nov 2005 18:02:32 +0700 User-Agent: KMail/1.8 References: <200511211718.26679.xinxincute@gmail.com> <6F909ADC-23ED-40CF-A2B5-41DE61606A26@fastcrypt.com> <4382E5E0.6080601@opencloud.com> In-Reply-To: <4382E5E0.6080601@opencloud.com> Cc: Mark Lewis , Kris Jurka , pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200511231802.32984.xinxincute@gmail.com> 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/161 X-Sequence-Number: 14259 Hi Oliver.. How can I make it default to off? Does the performance of PostgreSQL drop a lot if I change it? Especially the speed? Thanks in advance. Xin Xin On Tuesday 22 November 2005 16:33, you wrote: > Dave Cramer wrote: > > The easier way to deal with this has already been discussed. Simply > > bind String to the Oid.Unknown type, and let the server deal with it. > > > > How about we make this a configuration parameter. > > I was thinking about this some more and that seems like the best thing > to do for now. > > Make it default to off (i.e. current 8.0/8.1 behaviour by default) and > turn it on if you specify a separate parameter or if you specify > compatible=7.4 > > -O >