Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id F1B442E3A6A for ; Thu, 20 Dec 2007 06:43:52 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 66994-03-2 for ; Thu, 20 Dec 2007 06:43:44 -0400 (AST) Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id 4FE422E3A70 for ; Thu, 20 Dec 2007 06:43:47 -0400 (AST) Received: from 222-154-181-228.jetstream.xtra.co.nz ([222.154.181.228] helo=[192.168.1.2]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1J5IsM-0003O8-C8; Thu, 20 Dec 2007 23:43:38 +1300 Message-ID: <476A475E.2020108@opencloud.com> Date: Thu, 20 Dec 2007 23:43:42 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Daniel Migowski CC: Tom Lane , Gregory Stark , pgsql-jdbc@postgresql.org Subject: Re: TypeInfoCache References: <47692DEB.9070307@ikoffice.de> <877ijan2cp.fsf@oxford.xeocode.com> <47693B10.3040804@ikoffice.de> <873atymzpu.fsf@oxford.xeocode.com> <4769604A.9050006@ikoffice.de> <476989C7.8020307@opencloud.com> <1811.1198113944@sss.pgh.pa.us> <476A4094.6070601@ikoffice.de> In-Reply-To: <476A4094.6070601@ikoffice.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/160 X-Sequence-Number: 18015 Daniel Migowski wrote: > Please give me any good reasons not to apply my patch, with would > further improve standards conformance. My main concern is that 'text' is a very common type to use in PostgreSQL based designs, and that JDBC applications are more likely to understand how to interpret a field that claims to be VARCHAR than one that is LONGVARCHAR, given that LONGVARCHAR is a relatively strange type and at best poorly defined. i.e. - there are likely to be applications out there that depend on the current behaviour - what are you going to do to support them? This is the first time that mapping 'text' to LONGVARCHAR has been suggested, as far as I can recall, so I think your "this breaks ORM mappers and anything else that tries to understand the database schema" claim is perhaps a bit of an exaggeration. If it does, where are all the bug reports? -O