pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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:48:31 +1300
Message-ID: <476A487F.9070006@opencloud.com> (raw)
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>

Oliver Jowett wrote:
> 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.

Also worth noting that 'text' is commonly used even for very short 
strings. Do you really want to hint to JDBC clients that they should be 
using the streaming interface and expect to deal with very long strings 
in that common case? I suspect (with no hard data to back it up, 
admittedly!) that 'text' fields in general use are more commonly under 
100 characters than over a megabyte.

-O



view thread (32+ messages)  latest in thread

Message-ID: <476A487F.9070006@opencloud.com>
Permalink:  ../476A487F.9070006@opencloud.com/
Also on:    postgresql.org/message-id/476A487F.9070006@opencloud.com

 · 

reply

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: <476A487F.9070006@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> <476A487F.9070006@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