From: Oliver Jowett <oliver@opencloud.com>
To: Daniel Migowski <dmigowski@ikoffice.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Gregory Stark <stark@enterprisedb.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: TypeInfoCache
Date: Thu, 20 Dec 2007 23:43:42 +1300
Message-ID: <476A475E.2020108@opencloud.com> (raw)
In-Reply-To: <476A4094.6070601@ikoffice.de>
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>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, dmigowski@ikoffice.de, tgl@sss.pgh.pa.us, stark@enterprisedb.com
Subject: Re: TypeInfoCache
In-Reply-To: <476A475E.2020108@opencloud.com>
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> <476A475E.2020108@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox