Re: Problems with infinity

From: Oliver Siegmar <o(dot)siegmar(at)vitrado(dot)de>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problems with infinity
Date: 2005-02-04 10:11:22
Message-ID: 200502041111.22381.o.siegmar@vitrado.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tuesday 25 January 2005 09:35, Kris Jurka wrote:
> On Fri, 21 Jan 2005, Oliver Siegmar wrote:
> > > Well, no one seems to have any better ideas, how about a better place
> > > for the infinity constants. org.postgresql.jdbc2.TimestampUtils is not
> > > a public interface. PGStatement?
> >
> > I vote for PGStatement :-)
>
> I was getting ready to apply this patch when I decided to add a couple
> more tests and I'm getting a failure for getDate() that I do not have time
> at the momemnt to investigate. Could you take a look at the attached
> patch and see what's going on.

Attached is a new patch (diffed against current CVS) which fullfills the
"requirements" of all junit tests.

I've tested timezones 'Europe/Berlin' and 'America/Los_Angeles'.

Anyway I'm not 100% sure if this is a good way handling this.

Oliver

Attachment Content-Type Size
pgjdbc_infinity5.patch.gz application/x-gzip 2.2 KB

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Markus Schaber 2005-02-04 10:42:41 Re: context classloader
Previous Message Peter Eisentraut 2005-02-04 09:54:16 Re: BUG #1459: Connection hangs when other connection is not committed