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-01-21 08:07:45
Message-ID: 200501210907.45214.o.siegmar@vitrado.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Friday 21 January 2005 09:06, Kris Jurka wrote:
> On Tue, 18 Jan 2005, Oliver Siegmar wrote:
> > The current infinity implementation in pgjdbc is a hack, because you have
> > to set/get magic values that represents '-infinity' and 'infinity', but
> > it is imho the best way to do until there might be an NEGATIVE_INFINITY
> > and POSITIVE_INFINTIY for java.util.Date like the one for
> > java.lang.Double.
>
> 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 :-)

Oliver

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Xavier Poinsard 2005-01-21 09:22:19 Documentation for jdbc escapes
Previous Message Kris Jurka 2005-01-21 08:06:58 Re: Problems with infinity