pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: use of OID.Unknown
Date: Thu, 10 Nov 2005 00:30:51 +1300
Message-ID: <4371DDEB.3030504@opencloud.com> (raw)
In-Reply-To: <A9FB7703-8451-4B03-AC70-178F793DF78E@fastcrypt.com>
References: <A9FB7703-8451-4B03-AC70-178F793DF78E@fastcrypt.com>

Dave Cramer wrote:

> 2) We have broken backward compatibility by changing the behaviour of  
> setString.

My experience with the driver has been that we don't care much about 
backwards compatibility of nonstandard behaviour between major revisions 
-- if it's postgresql-specific code, the app can just change as the 
driver does.

That's why the protocol changes went into the 8.0 driver, but weren't 
backported.. If your app depends on driver-specific behaviour and you 
don't want to change it, you can keep using the 7.4.x driver.

> At a minimum I'd propose we bind strings to unknown.

If we do this, what is the path to eventually moving away from unknown? 
Using unknown does not feel like the right long-term solution to me .. I 
don't want to just dig a deeper hole here.

I also agree with Tom and Kris that it seems too late to do this for the 
"8.1" driver. Changing it in a later subrelease is the wrong time to do 
it too -- then you'd have 7.4.x with one behaviour, 8.0.x and some 8.1.x 
with a different behaviour, and then other 8.1.x with yet another.. urgh.

(I am on leave until February, but will be infrequently checking email)

-O



view thread (14+ messages)  latest in thread

Message-ID: <4371DDEB.3030504@opencloud.com>
Permalink:  ../4371DDEB.3030504@opencloud.com/
Also on:    postgresql.org/message-id/4371DDEB.3030504@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, pg@fastcrypt.com
  Subject: Re: use of OID.Unknown
  In-Reply-To: <4371DDEB.3030504@opencloud.com>
  References: <A9FB7703-8451-4B03-AC70-178F793DF78E@fastcrypt.com> <4371DDEB.3030504@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