Skip site navigation (1) Skip section navigation (2)

Re: Problems with infinity

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Siegmar <o(dot)siegmar(at)vitrado(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problems with infinity
Date: 2005-01-21 08:06:58
Message-ID: Pine.BSO.4.56.0501210303480.19480@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

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?

http://jdbc.postgresql.org/documentation/publicapi/index.html

Kris Jurka

In response to

Responses

pgsql-jdbc by date

Next:From: Oliver SiegmarDate: 2005-01-21 08:07:45
Subject: Re: Problems with infinity
Previous:From: Kris JurkaDate: 2005-01-20 12:19:03
Subject: Re: DataSource

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group