From: Oliver Siegmar <o.siegmar@vitrado.de>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problems with infinity
Date: Fri, 4 Feb 2005 10:12:03 +0100
Message-ID: <200502041012.03439.o.siegmar@vitrado.de> (raw)
In-Reply-To: <Pine.BSO.4.56.0501251310390.7880@leary.csoft.net>
References: <200501131419.00993.o.siegmar@vitrado.de>
<200501251607.59539.o.siegmar@vitrado.de>
<Pine.BSO.4.56.0501251310390.7880@leary.csoft.net>
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
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: o.siegmar@vitrado.de, books@ejurka.com
Subject: Re: Problems with infinity
In-Reply-To: <200502041012.03439.o.siegmar@vitrado.de>
References: <200501131419.00993.o.siegmar@vitrado.de> <200501251607.59539.o.siegmar@vitrado.de> <Pine.BSO.4.56.0501251310390.7880@leary.csoft.net> <200502041012.03439.o.siegmar@vitrado.de>
* 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