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: pgsql-jdbc@postgresql.org
Subject: Re: Timestamp Conversion Woes Redux
Date: Tue, 19 Jul 2005 13:22:11 +0000
Message-ID: <42DCFE83.4060505@opencloud.com> (raw)
In-Reply-To: <499DFF86-4F92-47D1-A9FE-F9EEEB0E8BAF@fastcrypt.com>
References: <90876a9e05071810503606d431@mail.gmail.com>
	<16335.1121714809@sss.pgh.pa.us>
	<10C90079-DD0A-43D7-9389-7486803F0AB1@fastcrypt.com>
	<42DC37AC.5030704@opencloud.com>
	<C36F2D5F-093E-489C-8D6F-A67B746EA6C8@fastcrypt.com>
	<42DCF0C9.4030501@opencloud.com>
	<E14D759B-135D-4531-9322-9F4C535C2627@fastcrypt.com>
	<42DCF5D7.9000303@opencloud.com>
	<F84A33B1-609F-4E31-835D-C89E3372B349@fastcrypt.com>
	<42DCFB05.90306@opencloud.com>
	<499DFF86-4F92-47D1-A9FE-F9EEEB0E8BAF@fastcrypt.com>

Dave Cramer wrote:

> setString is "special" because historically this is what we see in  the 
> upgrade problems. People try to insert a date using setString 
> ('dateval') etc.

And we're back to: I think the right solution here is for people to fix 
their broken apps, not to introduce unpredictable behaviour in the driver.

> Also we have historically told people to use setString to insert pg  specific types, when there was no corresponding java type.

That's a fair point.

We really need a proper way for specifying this anyway; I had a trivial 
PGobject implementation at one point that did the trick, but Kris didn't 
like the other bits I did in that patch and I never got around to 
implementing it separately.

-O



view thread (92+ messages)  latest in thread

Message-ID: <42DCFE83.4060505@opencloud.com>
Permalink:  ../42DCFE83.4060505@opencloud.com/
Also on:    postgresql.org/message-id/42DCFE83.4060505@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: Timestamp Conversion Woes Redux
  In-Reply-To: <42DCFE83.4060505@opencloud.com>
  References: <90876a9e05071810503606d431@mail.gmail.com> <16335.1121714809@sss.pgh.pa.us> <10C90079-DD0A-43D7-9389-7486803F0AB1@fastcrypt.com> <42DC37AC.5030704@opencloud.com> <C36F2D5F-093E-489C-8D6F-A67B746EA6C8@fastcrypt.com> <42DCF0C9.4030501@opencloud.com> <E14D759B-135D-4531-9322-9F4C535C2627@fastcrypt.com> <42DCF5D7.9000303@opencloud.com> <F84A33B1-609F-4E31-835D-C89E3372B349@fastcrypt.com> <42DCFB05.90306@opencloud.com> <499DFF86-4F92-47D1-A9FE-F9EEEB0E8BAF@fastcrypt.com> <42DCFE83.4060505@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