Fix last (?) problem with sensitivity to daylight savings time status

when running the regression test. Reported by Tom Lane.
This commit is contained in:
Thomas G. Lockhart 2001-11-06 16:31:13 +00:00
parent 3ea311d4b3
commit d2ff7e509c
2 changed files with 2 additions and 2 deletions

View File

@ -551,7 +551,7 @@ SELECT CAST(CAST(date 'today' + time with time zone '01:30'
03:31:00
(1 row)
SELECT CAST(cast(date 'today' + time with time zone '03:30-08'
SELECT CAST(cast(date 'today' + time with time zone '03:30'
+ interval '1 month 04:01' as timestamp without time zone) AS time) AS "07:31:00";
07:31:00
----------

View File

@ -90,7 +90,7 @@ SELECT time with time zone '02:30-08' + interval '36:01' AS "14:31:00-08";
SELECT CAST(CAST(date 'today' + time with time zone '01:30'
+ interval '02:01' AS time with time zone) AS time) AS "03:31:00";
SELECT CAST(cast(date 'today' + time with time zone '03:30-08'
SELECT CAST(cast(date 'today' + time with time zone '03:30'
+ interval '1 month 04:01' as timestamp without time zone) AS time) AS "07:31:00";
SELECT interval '04:30' - time with time zone '01:02-05' AS "20:32:00-05";