Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 6B549633815 for ; Fri, 29 May 2009 06:17:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 70732-02 for ; Fri, 29 May 2009 06:17:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mk-filter-3-a-1.mail.uk.tiscali.com (mk-filter-3-a-1.mail.uk.tiscali.com [212.74.100.54]) by mail.postgresql.org (Postfix) with ESMTP id E1EB263252F for ; Fri, 29 May 2009 06:17:12 -0300 (ADT) X-Trace: 203340483/mk-filter-3.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/80.225.14.30/None/john.lister@kickstone.com X-SBRS: None X-RemoteIP: 80.225.14.30 X-IP-MAIL-FROM: john.lister@kickstone.com X-SMTP-AUTH: X-MUA: Thunderbird 2.0.0.21 (Windows/20090302) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiwCAGNFH0pQ4Q4e/2dsb2JhbAAIzliEDAU X-IronPort-AV: E=Sophos;i="4.41,270,1241391600"; d="scan'208";a="203340483" Received: from 80-225-14-30.dynamic.dial.as9105.com (HELO [192.168.6.11]) ([80.225.14.30]) by smtp.tiscali.co.uk with ESMTP; 29 May 2009 10:16:56 +0100 Message-ID: <4A1FA7F2.6020300@kickstone.com> Date: Fri, 29 May 2009 10:16:34 +0100 From: John Lister User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Kris Jurka CC: pgsql-jdbc@postgresql.org Subject: Re: Unit test patches References: <49FAC740.1060607@kickstone.com> <49FDDA33.5070009@kickstone.com> <28431.1241374645@sss.pgh.pa.us> <49FDEDA2.7040107@kickstone.com> <4A020049.9050702@kickstone.com> <49FF62D4.2010406@ejurka.com> <4A0337A4.7090505@kickstone.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200905/110 X-Sequence-Number: 19660 Kris Jurka wrote: > Looks good to me. Applied back to 8.1. 8.0 has some other time test > problems that look like they've been there forever. Not backpatching > as I don't fully understand what's going on there and this is just a > test case fix. > Cheers. I'm still not happy about changing the test case to work in europe/london. I did try playing with the time setting functions to avoid using the epoch as the base for times so that they were based on the current date thus avoiding any historical DST or other zone issues - but it broke a lot of the other tests which expected the epoch as the base. I guess this is a fundamental flaw in the java.sql.Time class (which has many other problems). I don't use TIME separately (only TIMESTAMP) so this isn't a huge deal for me, but this may bite someone else. JOHN