mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Fix last (?) problem with sensitivity to daylight savings time status
when running the regression test. Reported by Tom Lane.
This commit is contained in:
parent
3ea311d4b3
commit
d2ff7e509c
@ -551,7 +551,7 @@ SELECT CAST(CAST(date 'today' + time with time zone '01:30'
|
|||||||
03:31:00
|
03:31:00
|
||||||
(1 row)
|
(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";
|
+ interval '1 month 04:01' as timestamp without time zone) AS time) AS "07:31:00";
|
||||||
07:31:00
|
07:31:00
|
||||||
----------
|
----------
|
||||||
|
@ -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'
|
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";
|
+ 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";
|
+ 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";
|
SELECT interval '04:30' - time with time zone '01:02-05' AS "20:32:00-05";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user