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 C5472528C3 for ; Tue, 19 Jul 2005 19:48:22 -0300 (ADT) 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 81484-08 for ; Tue, 19 Jul 2005 22:48:14 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id E563952832 for ; Tue, 19 Jul 2005 19:48:12 -0300 (ADT) 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 1Dv0sj-0000Sb-Ff; Wed, 20 Jul 2005 10:48:09 +1200 Message-ID: <42DD8329.2000505@opencloud.com> Date: Wed, 20 Jul 2005 10:48:09 +1200 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Csaba Nagy Cc: Tom Lane , Dave Cramer , Christian Cryder , Postgres JDBC Subject: Re: Timestamp Conversion Woes Redux References: <90876a9e05071810503606d431@mail.gmail.com> <16335.1121714809@sss.pgh.pa.us> <10C90079-DD0A-43D7-9389-7486803F0AB1@fastcrypt.com> <42DC37AC.5030704@opencloud.com> <42DCF0C9.4030501@opencloud.com> <23396.1121781259@sss.pgh.pa.us> <42DD0824.9060002@opencloud.com> <23729.1121783651@sss.pgh.pa.us> <1121784727.3085.294.camel@coppola.muc.ecircle.de> In-Reply-To: <1121784727.3085.294.camel@coppola.muc.ecircle.de> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/144 X-Sequence-Number: 13292 Csaba Nagy wrote: > [snip] > >>wasn't the whole thread. I agree with you that if we make setString >>default to UNKNOWN, there had better be a way to say "by golly this >>really is TEXT" for the corner cases. It'd be a good idea if it wasn't >>limited to TEXT, either, but could allow specification of any random >>datatype. > > > This makes me think, isn't it possible to introduce a special type to > say something like: setObject(..., Types.UNKNOWN), I expect you can do this already with a PGobject implementantion. It might be nice to make it directly support String too. -O