]> granicus.if.org Git - postgresql/commitdiff
Fix last (?) problem with sensitivity to daylight savings time status
authorThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 6 Nov 2001 16:31:13 +0000 (16:31 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 6 Nov 2001 16:31:13 +0000 (16:31 +0000)
 when running the regression test. Reported by Tom Lane.

src/test/regress/expected/horology.out
src/test/regress/sql/horology.sql

index f911fc368fd5fe0d9406116eaa7ab8595a3b538b..487786f37a56d123c3300edf08df5766374f791a 100644 (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 
 ----------
index 9e4652171ad816c76349ee47dc3ff1a3fc9e26ee..d302d1560d8161f1a0418c2e234a82d449279c26 100644 (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";