timetz regression test is showing several DST-related failures - Mailing list pgsql-hackers

From Tom Lane
Subject timetz regression test is showing several DST-related failures
Date
Msg-id 29303.1004464818@sss.pgh.pa.us
Whole thread Raw
Responses Re: timetz regression test is showing several DST-related failures
List pgsql-hackers
I am seeing the attached regression diffs on timetz, which passed
last week.  It looks like all of these are related to the fact that
unmarked timetz values are now presumed to be PST (-8) not PST (-7).
        regards, tom lane

*** ./expected/timetz.out    Wed Oct  3 01:29:26 2001
--- ./results/timetz.out    Tue Oct 30 12:51:38 2001
***************
*** 33,62 ****  00:01:00-07  01:00:00-07  02:03:00-07
! (3 rows)  SELECT f1 AS "Seven" FROM TIMETZ_TBL WHERE f1 > '05:06:07';      Seven       ----------------  07:07:00-08
-  08:08:00-04  11:59:00-07  12:00:00-07  12:01:00-07  23:59:00-07  23:59:59.99-07
! (7 rows)  SELECT f1 AS "None" FROM TIMETZ_TBL WHERE f1 < '00:00';  None 
! ------
! (0 rows)  SELECT f1 AS "Ten" FROM TIMETZ_TBL WHERE f1 >= '00:00';       Ten        ----------------
-  00:01:00-07
-  01:00:00-07  02:03:00-07  07:07:00-08  08:08:00-04
--- 33,62 ----  00:01:00-07  01:00:00-07  02:03:00-07
!  08:08:00-04
! (4 rows)  SELECT f1 AS "Seven" FROM TIMETZ_TBL WHERE f1 > '05:06:07';      Seven       ----------------  07:07:00-08
11:59:00-07 12:00:00-07  12:01:00-07  23:59:00-07  23:59:59.99-07
 
! (6 rows)  SELECT f1 AS "None" FROM TIMETZ_TBL WHERE f1 < '00:00';     None     
! -------------
!  00:01:00-07
!  01:00:00-07
! (2 rows)  SELECT f1 AS "Ten" FROM TIMETZ_TBL WHERE f1 >= '00:00';       Ten        ----------------  02:03:00-07
07:07:00-08 08:08:00-04
 
***************
*** 65,71 ****  12:01:00-07  23:59:00-07  23:59:59.99-07
! (10 rows)  -- -- TIME simple math
--- 65,71 ----  12:01:00-07  23:59:00-07  23:59:59.99-07
! (8 rows)  -- -- TIME simple math

======================================================================



pgsql-hackers by date:

Previous
From: Masaru Sugawara
Date:
Subject: Re: Odd error in complex query (7.2): Sub-SELECT
Next
From: George Eric R Contr AFSPC/CVYZ
Date:
Subject: Re: Ultimate DB Server