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

Commit362f731

Browse files
committed
Un-break horology regression test.
Adjust ill-considered timezone-dependent tests added in commit8a3d33c so that they won't fail on DSTtransition days. Per all-pink buildfarm.
1 parent780571c commit362f731

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -639,13 +639,13 @@ SELECT (timestamp with time zone 'today' = (timestamp with time zone 'tomorrow'
639639
t
640640
(1 row)
641641

642-
SELECT (timestamp with time zone 'today 10:30+05' = timestamptz(date 'today', time with time zone '10:30+05')) as "True";
642+
SELECT (timestamp with time zone 'today 10:30-08' = timestamptz(date 'today', time with time zone '10:30-08')) as "True";
643643
True
644644
------
645645
t
646646
(1 row)
647647

648-
SELECT (timestamp with time zone '10:30+05 today' = timestamptz(date 'today', time with time zone '10:30+05')) as "True";
648+
SELECT (timestamp with time zone '10:30-08 today' = timestamptz(date 'today', time with time zone '10:30-08')) as "True";
649649
True
650650
------
651651
t
@@ -657,13 +657,13 @@ SELECT (timestamp with time zone 'tomorrow' = (timestamp with time zone 'yesterd
657657
t
658658
(1 row)
659659

660-
SELECT (timestamp with time zone 'tomorrow 10:30+05' = (timestamp with time zone 'today 10:30+05' + interval '1 day')) as "True";
660+
SELECT (timestamp with time zone 'tomorrow 10:30-08' = (timestamp with time zone 'today 10:30-08' + interval '1 day')) as "True";
661661
True
662662
------
663663
t
664664
(1 row)
665665

666-
SELECT (timestamp with time zone '10:30+05 tomorrow' = (timestamp with time zone 'today 10:30+05' + interval '1 day')) as "True";
666+
SELECT (timestamp with time zone '10:30-08 tomorrow' = (timestamp with time zone 'today 10:30-08' + interval '1 day')) as "True";
667667
True
668668
------
669669
t

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ SELECT timestamp with time zone '1999-12-01' + interval '1 month - 1 second' AS
118118

119119
SELECT (timestamp with time zone'today'= (timestamp with time zone'yesterday'+ interval'1 day'))as"True";
120120
SELECT (timestamp with time zone'today'= (timestamp with time zone'tomorrow'- interval'1 day'))as"True";
121-
SELECT (timestamp with time zone'today 10:30+05'=timestamptz(date'today',time with time zone'10:30+05'))as"True";
122-
SELECT (timestamp with time zone'10:30+05 today'=timestamptz(date'today',time with time zone'10:30+05'))as"True";
121+
SELECT (timestamp with time zone'today 10:30-08'=timestamptz(date'today',time with time zone'10:30-08'))as"True";
122+
SELECT (timestamp with time zone'10:30-08 today'=timestamptz(date'today',time with time zone'10:30-08'))as"True";
123123
SELECT (timestamp with time zone'tomorrow'= (timestamp with time zone'yesterday'+ interval'2 days'))as"True";
124-
SELECT (timestamp with time zone'tomorrow 10:30+05'= (timestamp with time zone'today 10:30+05'+ interval'1 day'))as"True";
125-
SELECT (timestamp with time zone'10:30+05 tomorrow'= (timestamp with time zone'today 10:30+05'+ interval'1 day'))as"True";
124+
SELECT (timestamp with time zone'tomorrow 10:30-08'= (timestamp with time zone'today 10:30-08'+ interval'1 day'))as"True";
125+
SELECT (timestamp with time zone'10:30-08 tomorrow'= (timestamp with time zone'today 10:30-08'+ interval'1 day'))as"True";
126126
SELECT (timestamp with time zone'yesterday 12:34:56-7'=timestamptz(date'yesterday',time with time zone'12:34:56-7'))as"True";
127127
SELECT (timestamp with time zone'12:34:56 yesterday -7'=timestamptz(date'yesterday',time with time zone'12:34:56-7'))as"True";
128128
SELECT (timestamp with time zone'12:34:56-7 yesterday'=timestamptz(date'yesterday',time with time zone'12:34:56-7'))as"True";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp