From d2ff7e509ccba733309a865c8be71b7eb56004ab Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Tue, 6 Nov 2001 16:31:13 +0000 Subject: [PATCH] Fix last (?) problem with sensitivity to daylight savings time status when running the regression test. Reported by Tom Lane. --- src/test/regress/expected/horology.out | 2 +- src/test/regress/sql/horology.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/regress/expected/horology.out b/src/test/regress/expected/horology.out index f911fc368f..487786f37a 100644 --- a/src/test/regress/expected/horology.out +++ b/src/test/regress/expected/horology.out @@ -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 ---------- diff --git a/src/test/regress/sql/horology.sql b/src/test/regress/sql/horology.sql index 9e4652171a..d302d1560d 100644 --- a/src/test/regress/sql/horology.sql +++ b/src/test/regress/sql/horology.sql @@ -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";