Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id C03A563228C for ; Wed, 7 Jan 2009 11:16:53 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 41281-07 for ; Wed, 7 Jan 2009 11:16:47 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from web23605.mail.ird.yahoo.com (web23605.mail.ird.yahoo.com [87.248.115.48]) by mail.postgresql.org (Postfix) with SMTP id BD53B632291 for ; Wed, 7 Jan 2009 11:16:47 -0400 (AST) Received: (qmail 45758 invoked by uid 60001); 7 Jan 2009 15:16:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Pm7H3ZkwH4LDgYBarb6hwljqBFanw/p0xZsshQ5k4LyVakdgMxN/gMcoGLIMSnjq0JYuZjpsooFSY/HX3mln2ojeSXKJoQIVf11ABoMbA0Toq6f2uj2qAeFTyFHA9JjmeJeImLW1n1XB9M03FQZDGlUdf31hFRELwS7CdOwZcDE=; X-YMail-OSG: I5UFM4sVM1mlGFAcSNVoMZVykPqPBsWYnRZ1kuWdPexLQiWvwRW1CZQ4i_3664ORWtDRR99Yy1dxexTtjwTBDlb6KUzY.3CLtMLhycPph8K99yUJdLdyP.RhWDHjq8WCBQ1ocB_YqtvL5zKiOgJhtodmcysiPz0wkixBO4fg6ESW0WdyPhrHEilQCigv3XNwoA4UZIZPcRMaIss- Received: from [83.166.184.142] by web23605.mail.ird.yahoo.com via HTTP; Wed, 07 Jan 2009 15:16:44 GMT X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 7 Jan 2009 15:16:44 +0000 (GMT) From: Glyn Astill Reply-To: glynastill@yahoo.co.uk Subject: Re: Fwd: Casting issue!! To: tgl@sss.pgh.pa.us, pgsql-performance@postgresql.org, jose fuenmayor In-Reply-To: <69f2062a0901070558v3fc1f8fds1053270abbea242d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <867853.42842.qm@web23605.mail.ird.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200901/29 X-Sequence-Number: 32308 --- On Wed, 7/1/09, jose fuenmayor wrote: >=20 > Hi all I am trying to migrate from postgresql 8.2.x to=20 > 8.3.x, i have an > issue with casting values when i try to perform the auto > cast , it does not > work and I get an error, how can i perform auto casting on > 8.3 without > rewrite my source code, I am using pl/pgsql. I mean i dont > want to write > value::dataType. I dont want to use explicit type cast. > Maybe change > something in the config files? to make it work like 8.2 on > tha regard(cast > values). > thanks a lot!!! > Kind Regards; > Jose Fuenmayor As the others have said; you'd be better off posting this in the pgsql-gene= ral list. However I think you could proabably work your way around this with a functi= on and a cast, as described here: http://www.depesz.com/index.php/2008/05/05/error-operator-does-not-exist-in= teger-text-how-to-fix-it/ =0A=0A=0A