X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7BF213A3C95 for ; Fri, 21 Jan 2005 08:03:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70924-04 for ; Fri, 21 Jan 2005 08:03:41 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 39F983A4B6D for ; Fri, 21 Jan 2005 08:03:41 +0000 (GMT) Received: (qmail 4428 invoked by uid 1112); 21 Jan 2005 08:06:58 -0000 Date: Fri, 21 Jan 2005 03:06:58 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Oliver Siegmar Cc: pgsql-jdbc@postgresql.org Subject: Re: Problems with infinity In-Reply-To: <200501180812.20571.o.siegmar@vitrado.de> Message-ID: References: <200501131419.00993.o.siegmar@vitrado.de> <200501171408.32936.o.siegmar@vitrado.de> <200501180812.20571.o.siegmar@vitrado.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/199 X-Sequence-Number: 12079 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