aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>2001-11-06 16:31:13 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>2001-11-06 16:31:13 +0000
commitd2ff7e509ccba733309a865c8be71b7eb56004ab (patch)
tree6e9796c8d4beeaca63b8d587434ce87963483979
parent3ea311d4b397b035dd5d1f19996ce8381f5e7cbd (diff)
downloadpostgresql-d2ff7e509ccba733309a865c8be71b7eb56004ab.tar.gz
postgresql-d2ff7e509ccba733309a865c8be71b7eb56004ab.zip
Fix last (?) problem with sensitivity to daylight savings time status
when running the regression test. Reported by Tom Lane.
-rw-r--r--src/test/regress/expected/horology.out2
-rw-r--r--src/test/regress/sql/horology.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/expected/horology.out b/src/test/regress/expected/horology.out
index f911fc368fd..487786f37a5 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 9e4652171ad..d302d1560d8 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";