Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
d2ff7e50
Commit
d2ff7e50
authored
Nov 06, 2001
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix last (?) problem with sensitivity to daylight savings time status
when running the regression test. Reported by Tom Lane.
parent
3ea311d4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/test/regress/expected/horology.out
src/test/regress/expected/horology.out
+1
-1
src/test/regress/sql/horology.sql
src/test/regress/sql/horology.sql
+1
-1
No files found.
src/test/regress/expected/horology.out
View file @
d2ff7e50
...
@@ -551,7 +551,7 @@ SELECT CAST(CAST(date 'today' + time with time zone '01:30'
...
@@ -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
----------
----------
...
...
src/test/regress/sql/horology.sql
View file @
d2ff7e50
...
@@ -90,7 +90,7 @@ SELECT time with time zone '02:30-08' + interval '36:01' AS "14:31:00-08";
...
@@ -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"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment