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
d74c52c3
Commit
d74c52c3
authored
Nov 11, 2000
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow more timezone-like interpretation of INTERVALs.
parent
a669bd74
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
src/test/regress/expected/interval.out
src/test/regress/expected/interval.out
+20
-20
No files found.
src/test/regress/expected/interval.out
View file @
d74c52c3
...
...
@@ -3,44 +3,44 @@
--
SET DATESTYLE = DEFAULT;
-- check acceptance of "time zone style"
SELECT INTERVAL '01:00';
?column?
SELECT INTERVAL '01:00'
AS "One hour"
;
One hour
----------
+01:00
(1 row)
SELECT INTERVAL '+02:00';
?column?
----------
SELECT INTERVAL '+02:00'
AS "Two hours"
;
Two hours
----------
-
+02:00
(1 row)
SELECT INTERVAL '-08:00';
?column?
----------
SELECT INTERVAL '-08:00'
AS "Eight hours"
;
Eight hours
----------
---
-08:00
(1 row)
SELECT INTERVAL '-05';
?column?
-----------
-0
0:00:05
SELECT INTERVAL '-05'
AS "Five hours"
;
Five hours
-----------
-
-0
5:00
(1 row)
SELECT INTERVAL '-1 +02:03';
?column?
----------
SELECT INTERVAL '-1 +02:03'
AS "22 hours ago..."
;
22 hours ago...
----------
-------
-21:57
(1 row)
SELECT INTERVAL '-1 days +02:03';
?column?
----------
SELECT INTERVAL '-1 days +02:03'
AS "22 hours ago..."
;
22 hours ago...
----------
-------
-21:57
(1 row)
SELECT INTERVAL '10 years -11 month -12 days +13:14';
?column?
SELECT INTERVAL '10 years -11 month -12 days +13:14'
AS "9 years..."
;
9 years...
--------------------------
9 years 1 mon -11 -10:46
(1 row)
...
...
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