pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Oliver Siegmar <o.siegmar@vitrado.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problems with infinity
Date: Fri, 21 Jan 2005 03:06:58 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0501210303480.19480@leary.csoft.net> (raw)
In-Reply-To: <200501180812.20571.o.siegmar@vitrado.de>
References: <200501131419.00993.o.siegmar@vitrado.de>
	<200501171408.32936.o.siegmar@vitrado.de>
	<Pine.BSO.4.56.0501171916210.15181@leary.csoft.net>
	<200501180812.20571.o.siegmar@vitrado.de>



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



view thread (27+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0501210303480.19480@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0501210303480.19480@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0501210303480.19480@leary.csoft.net

 · 

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: books@ejurka.com, o.siegmar@vitrado.de
  Subject: Re: Problems with infinity
  In-Reply-To: <Pine.BSO.4.56.0501210303480.19480@leary.csoft.net>
  References: <200501131419.00993.o.siegmar@vitrado.de> <200501171408.32936.o.siegmar@vitrado.de> <Pine.BSO.4.56.0501171916210.15181@leary.csoft.net> <200501180812.20571.o.siegmar@vitrado.de> <Pine.BSO.4.56.0501210303480.19480@leary.csoft.net>

* 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