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
d062f0f4
Commit
d062f0f4
authored
Aug 10, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix collateral damage from error message cleanup.
parent
8265769c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
src/test/regress/expected/horology-no-DST-before-1970.out
src/test/regress/expected/horology-no-DST-before-1970.out
+4
-4
src/test/regress/expected/horology-solaris-1947.out
src/test/regress/expected/horology-solaris-1947.out
+4
-4
src/test/regress/output/create_function_1.source
src/test/regress/output/create_function_1.source
+1
-1
No files found.
src/test/regress/expected/horology-no-DST-before-1970.out
View file @
d062f0f4
...
@@ -43,7 +43,7 @@ SELECT date '1991-02-03' - time '04:05:06' AS "Subtract Time";
...
@@ -43,7 +43,7 @@ SELECT date '1991-02-03' - time '04:05:06' AS "Subtract Time";
(1 row)
(1 row)
SELECT date '1991-02-03' - time with time zone '04:05:06 UTC' AS "Subtract Time UTC";
SELECT date '1991-02-03' - time with time zone '04:05:06 UTC' AS "Subtract Time UTC";
ERROR: Unable to identify an operator '-' for types 'date' and 'time
tz
'
ERROR: Unable to identify an operator '-' for types 'date' and 'time
with time zone
'
You will have to retype this query using an explicit cast
You will have to retype this query using an explicit cast
--
--
-- timestamp, interval arithmetic
-- timestamp, interval arithmetic
...
@@ -118,9 +118,9 @@ SELECT interval '04:30' - time '01:02' AS "+03:28";
...
@@ -118,9 +118,9 @@ SELECT interval '04:30' - time '01:02' AS "+03:28";
(1 row)
(1 row)
SELECT CAST(time with time zone '01:02-08' AS interval) AS "+00:01";
SELECT CAST(time with time zone '01:02-08' AS interval) AS "+00:01";
ERROR: Cannot cast type 'time
tz
' to 'interval'
ERROR: Cannot cast type 'time
with time zone
' to 'interval'
SELECT CAST(interval '02:03' AS time with time zone) AS "02:03:00-08";
SELECT CAST(interval '02:03' AS time with time zone) AS "02:03:00-08";
ERROR: Cannot cast type 'interval' to 'time
tz
'
ERROR: Cannot cast type 'interval' to 'time
with time zone
'
SELECT time with time zone '01:30-08' - interval '02:01' AS "23:29:00-08";
SELECT time with time zone '01:30-08' - interval '02:01' AS "23:29:00-08";
23:29:00-08
23:29:00-08
-------------
-------------
...
@@ -153,7 +153,7 @@ SELECT CAST(date 'today' + time with time zone '03:30'
...
@@ -153,7 +153,7 @@ SELECT CAST(date 'today' + time with time zone '03:30'
(1 row)
(1 row)
SELECT interval '04:30' - time with time zone '01:02' AS "+03:28";
SELECT interval '04:30' - time with time zone '01:02' AS "+03:28";
ERROR: Unable to identify an operator '-' for types 'interval' and 'time
tz
'
ERROR: Unable to identify an operator '-' for types 'interval' and 'time
with time zone
'
You will have to retype this query using an explicit cast
You will have to retype this query using an explicit cast
-- We get 100 rows when run in GMT...
-- We get 100 rows when run in GMT...
SELECT t.d1 + i.f1 AS "102" FROM TIMESTAMP_TBL t, INTERVAL_TBL i
SELECT t.d1 + i.f1 AS "102" FROM TIMESTAMP_TBL t, INTERVAL_TBL i
...
...
src/test/regress/expected/horology-solaris-1947.out
View file @
d062f0f4
...
@@ -43,7 +43,7 @@ SELECT date '1991-02-03' - time '04:05:06' AS "Subtract Time";
...
@@ -43,7 +43,7 @@ SELECT date '1991-02-03' - time '04:05:06' AS "Subtract Time";
(1 row)
(1 row)
SELECT date '1991-02-03' - time with time zone '04:05:06 UTC' AS "Subtract Time UTC";
SELECT date '1991-02-03' - time with time zone '04:05:06 UTC' AS "Subtract Time UTC";
ERROR: Unable to identify an operator '-' for types 'date' and 'time
tz
'
ERROR: Unable to identify an operator '-' for types 'date' and 'time
with time zone
'
You will have to retype this query using an explicit cast
You will have to retype this query using an explicit cast
--
--
-- timestamp, interval arithmetic
-- timestamp, interval arithmetic
...
@@ -118,9 +118,9 @@ SELECT interval '04:30' - time '01:02' AS "+03:28";
...
@@ -118,9 +118,9 @@ SELECT interval '04:30' - time '01:02' AS "+03:28";
(1 row)
(1 row)
SELECT CAST(time with time zone '01:02-08' AS interval) AS "+00:01";
SELECT CAST(time with time zone '01:02-08' AS interval) AS "+00:01";
ERROR: Cannot cast type 'time
tz
' to 'interval'
ERROR: Cannot cast type 'time
with time zone
' to 'interval'
SELECT CAST(interval '02:03' AS time with time zone) AS "02:03:00-08";
SELECT CAST(interval '02:03' AS time with time zone) AS "02:03:00-08";
ERROR: Cannot cast type 'interval' to 'time
tz
'
ERROR: Cannot cast type 'interval' to 'time
with time zone
'
SELECT time with time zone '01:30-08' - interval '02:01' AS "23:29:00-08";
SELECT time with time zone '01:30-08' - interval '02:01' AS "23:29:00-08";
23:29:00-08
23:29:00-08
-------------
-------------
...
@@ -153,7 +153,7 @@ SELECT CAST(date 'today' + time with time zone '03:30'
...
@@ -153,7 +153,7 @@ SELECT CAST(date 'today' + time with time zone '03:30'
(1 row)
(1 row)
SELECT interval '04:30' - time with time zone '01:02' AS "+03:28";
SELECT interval '04:30' - time with time zone '01:02' AS "+03:28";
ERROR: Unable to identify an operator '-' for types 'interval' and 'time
tz
'
ERROR: Unable to identify an operator '-' for types 'interval' and 'time
with time zone
'
You will have to retype this query using an explicit cast
You will have to retype this query using an explicit cast
-- We get 100 rows when run in GMT...
-- We get 100 rows when run in GMT...
SELECT t.d1 + i.f1 AS "102" FROM TIMESTAMP_TBL t, INTERVAL_TBL i
SELECT t.d1 + i.f1 AS "102" FROM TIMESTAMP_TBL t, INTERVAL_TBL i
...
...
src/test/regress/output/create_function_1.source
View file @
d062f0f4
...
@@ -5,7 +5,7 @@ CREATE FUNCTION widget_in(opaque)
...
@@ -5,7 +5,7 @@ CREATE FUNCTION widget_in(opaque)
RETURNS widget
RETURNS widget
AS '@abs_builddir@/regress@DLSUFFIX@'
AS '@abs_builddir@/regress@DLSUFFIX@'
LANGUAGE 'c';
LANGUAGE 'c';
NOTICE: ProcedureCreate: type
'widget'
is not yet defined
NOTICE: ProcedureCreate: type
widget
is not yet defined
CREATE FUNCTION widget_out(opaque)
CREATE FUNCTION widget_out(opaque)
RETURNS opaque
RETURNS opaque
AS '@abs_builddir@/regress@DLSUFFIX@'
AS '@abs_builddir@/regress@DLSUFFIX@'
...
...
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