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 A9D698BA033 for ; Fri, 4 Feb 2005 09:12:20 +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 91745-07 for ; Fri, 4 Feb 2005 09:12:17 +0000 (GMT) Received: from mx.vitrado.de (mx.vitrado.de [194.97.5.172]) by svr1.postgresql.org (Postfix) with ESMTP id 79B868B9F8D for ; Fri, 4 Feb 2005 09:12:15 +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 1CwzVU-0002Ac-Nt; Fri, 04 Feb 2005 10:12:04 +0100 From: Oliver Siegmar Organization: Vitrado GmbH To: Kris Jurka Subject: Re: Problems with infinity Date: Fri, 4 Feb 2005 10:12:03 +0100 User-Agent: KMail/1.7.1 Cc: pgsql-jdbc@postgresql.org References: <200501131419.00993.o.siegmar@vitrado.de> <200501251607.59539.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: <200502041012.03439.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: 200502/23 X-Sequence-Number: 12203 The last weeks were rather busy, so I couldn't do any tests...but I tried today (with the current CVS version). To track down the problem (infinity in another timezone) I changed the timezone of my PgSQL server from 'CET' to 'EST'. Even without the infinity-patch applied I get a test-exception: runtest: [junit] Testsuite: org.postgresql.test.jdbc2.Jdbc2TestSuite [junit] Tests run: 180, Failures: 2, Errors: 0, Time elapsed: 12.149 sec [junit] Testcase: testGetTimestampWTZ(org.postgresql.test.jdbc2.TimestampTest): FAILED [junit] expected:<-627872399900> but was:<-627847199900> [junit] junit.framework.AssertionFailedError: expected:<-627872399900> but was:<-627847199900> [junit] at org.postgresql.test.jdbc2.TimestampTest.timestampTestWTZ(TimestampTest.java:306) [junit] at org.postgresql.test.jdbc2.TimestampTest.testGetTimestampWTZ(TimestampTest.java:78) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] Testcase: testSetTimestampWOTZ(org.postgresql.test.jdbc2.TimestampTest): FAILED [junit] null [junit] junit.framework.AssertionFailedError [junit] at org.postgresql.test.jdbc2.TimestampTest.timestampTestWOTZ(TimestampTest.java:367) [junit] at org.postgresql.test.jdbc2.TimestampTest.testSetTimestampWOTZ(TimestampTest.java:259) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] Test org.postgresql.test.jdbc2.Jdbc2TestSuite FAILED [junit] Testsuite: org.postgresql.test.jdbc2.optional.OptionalTestSuite [junit] Tests run: 38, Failures: 0, Errors: 0, Time elapsed: 1.561 sec [junit] Testsuite: org.postgresql.test.jdbc3.Jdbc3TestSuite [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 0.436 sec This needs to be fixed before I can track down the infinity problem. Greets Oliver