Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd2ff7e5

Browse files
author
Thomas G. Lockhart
committed
Fix last (?) problem with sensitivity to daylight savings time status
when running the regression test. Reported by Tom Lane.
1 parent3ea311d commitd2ff7e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ SELECT CAST(CAST(date 'today' + time with time zone '01:30'
551551
03:31:00
552552
(1 row)
553553

554-
SELECT CAST(cast(date 'today' + time with time zone '03:30-08'
554+
SELECT CAST(cast(date 'today' + time with time zone '03:30'
555555
+ interval '1 month 04:01' as timestamp without time zone) AS time) AS "07:31:00";
556556
07:31:00
557557
----------

‎src/test/regress/sql/horology.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ SELECT time with time zone '02:30-08' + interval '36:01' AS "14:31:00-08";
9090
SELECT CAST(CAST(date'today'+time with time zone'01:30'
9191
+ interval'02:01'AStime with time zone)AStime)AS"03:31:00";
9292

93-
SELECT CAST(cast(date'today'+time with time zone'03:30-08'
93+
SELECT CAST(cast(date'today'+time with time zone'03:30'
9494
+ interval'1 month 04:01'astimestamp without time zone)AStime)AS"07:31:00";
9595

9696
SELECT interval'04:30'-time with time zone'01:02-05'AS"20:32:00-05";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp