pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Barry Lind <blind@xythos.com>
To: Kris Jurka <books@ejurka.com>
Cc: j.random.programmer <javadesigner@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Bug in 7.4_213 driver: returns VARCHAR instead of
Date: Thu, 29 Jul 2004 15:20:44 -0700
Message-ID: <4109783C.8030806@xythos.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0407291654320.21056@leary.csoft.net>
References: <20040727084518.80717.qmail@web14201.mail.yahoo.com>
	<Pine.BSO.4.56.0407291519090.12809@leary.csoft.net>
	<Pine.BSO.4.56.0407291654320.21056@leary.csoft.net>

Kris Jurka wrote:
 > I'm not so sure anymore.  While text can be used for storing large values
 > it often isn't.  Further returning LONGVARCHAR could be a sign for the
 > caller to use something like ResultSet.getCharacterStream instead of a
 > simple getString.

I would agree.  In our applications we exclusively use text everywhere 
we use varchar on other databases.  I am quite sure that a change like 
this would break peoples existing apps.  I also agree that LONGVARCHAR 
would imply that you should use the getXXXStream methods which I would 
say is rarely the correct thing to do.  In my opinion text is just a 
better version of varchar (without many of the limitations imposed on 
varchar in other database vendor implementations).

--Barry




view thread (6+ messages)  latest in thread

Message-ID: <4109783C.8030806@xythos.com>
Permalink:  ../4109783C.8030806@xythos.com/
Also on:    postgresql.org/message-id/4109783C.8030806@xythos.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: blind@xythos.com, books@ejurka.com, javadesigner@yahoo.com
  Subject: Re: Bug in 7.4_213 driver: returns VARCHAR instead of
  In-Reply-To: <4109783C.8030806@xythos.com>
  References: <20040727084518.80717.qmail@web14201.mail.yahoo.com> <Pine.BSO.4.56.0407291519090.12809@leary.csoft.net> <Pine.BSO.4.56.0407291654320.21056@leary.csoft.net> <4109783C.8030806@xythos.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