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 82F3A3A434B for ; Fri, 21 Jan 2005 08:08:03 +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 71352-09 for ; Fri, 21 Jan 2005 08:08:00 +0000 (GMT) Received: from mx.vitrado.de (mx.vitrado.de [194.97.5.172]) by svr1.postgresql.org (Postfix) with ESMTP id 342963A3B0E for ; Fri, 21 Jan 2005 08:08:00 +0000 (GMT) Received: from morpheus.vitrado.de ([194.97.5.114] helo=vitrado-011.intranet.de) by mx.vitrado.de with asmtp (Exim 4.34 and XAMS pre-0.0.16) id 1Crtph-0002zh-1i; Fri, 21 Jan 2005 09:07:53 +0100 From: Oliver Siegmar Organization: Vitrado GmbH To: Kris Jurka Subject: Re: Problems with infinity Date: Fri, 21 Jan 2005 09:07:45 +0100 User-Agent: KMail/1.7.1 Cc: pgsql-jdbc@postgresql.org References: <200501131419.00993.o.siegmar@vitrado.de> <200501180812.20571.o.siegmar@vitrado.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501210907.45214.o.siegmar@vitrado.de> X-VITRADO-MailScanner: Not scanned X-MailScanner-From: o.siegmar@vitrado.de X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200501/200 X-Sequence-Number: 12080 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