timetz regression test is showing several DST-related failures

Поиск
Список
Период
Сортировка
От Tom Lane
Тема timetz regression test is showing several DST-related failures
Дата
Msg-id 29303.1004464818@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: timetz regression test is showing several DST-related failures  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Masaru Sugawara
Дата:
Сообщение: Re: Odd error in complex query (7.2): Sub-SELECT
Следующее
От: George Eric R Contr AFSPC/CVYZ
Дата:
Сообщение: Re: Ultimate DB Server