Skip to content

Commit d062f0f

Browse files
committed
Fix collateral damage from error message cleanup.
1 parent 8265769 commit d062f0f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/test/regress/expected/horology-no-DST-before-1970.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ SELECT date '1991-02-03' - time '04:05:06' AS "Subtract Time";
4343
(1 row)
4444

4545
SELECT date '1991-02-03' - time with time zone '04:05:06 UTC' AS "Subtract Time UTC";
46-
ERROR: Unable to identify an operator '-' for types 'date' and 'timetz'
46+
ERROR: Unable to identify an operator '-' for types 'date' and 'time with time zone'
4747
You will have to retype this query using an explicit cast
4848
--
4949
-- timestamp, interval arithmetic
@@ -118,9 +118,9 @@ SELECT interval '04:30' - time '01:02' AS "+03:28";
118118
(1 row)
119119

120120
SELECT CAST(time with time zone '01:02-08' AS interval) AS "+00:01";
121-
ERROR: Cannot cast type 'timetz' to 'interval'
121+
ERROR: Cannot cast type 'time with time zone' to 'interval'
122122
SELECT CAST(interval '02:03' AS time with time zone) AS "02:03:00-08";
123-
ERROR: Cannot cast type 'interval' to 'timetz'
123+
ERROR: Cannot cast type 'interval' to 'time with time zone'
124124
SELECT time with time zone '01:30-08' - interval '02:01' AS "23:29:00-08";
125125
23:29:00-08
126126
-------------
@@ -153,7 +153,7 @@ SELECT CAST(date 'today' + time with time zone '03:30'
153153
(1 row)
154154

155155
SELECT interval '04:30' - time with time zone '01:02' AS "+03:28";
156-
ERROR: Unable to identify an operator '-' for types 'interval' and 'timetz'
156+
ERROR: Unable to identify an operator '-' for types 'interval' and 'time with time zone'
157157
You will have to retype this query using an explicit cast
158158
-- We get 100 rows when run in GMT...
159159
SELECT t.d1 + i.f1 AS "102" FROM TIMESTAMP_TBL t, INTERVAL_TBL i

src/test/regress/expected/horology-solaris-1947.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ SELECT date '1991-02-03' - time '04:05:06' AS "Subtract Time";
4343
(1 row)
4444

4545
SELECT date '1991-02-03' - time with time zone '04:05:06 UTC' AS "Subtract Time UTC";
46-
ERROR: Unable to identify an operator '-' for types 'date' and 'timetz'
46+
ERROR: Unable to identify an operator '-' for types 'date' and 'time with time zone'
4747
You will have to retype this query using an explicit cast
4848
--
4949
-- timestamp, interval arithmetic
@@ -118,9 +118,9 @@ SELECT interval '04:30' - time '01:02' AS "+03:28";
118118
(1 row)
119119

120120
SELECT CAST(time with time zone '01:02-08' AS interval) AS "+00:01";
121-
ERROR: Cannot cast type 'timetz' to 'interval'
121+
ERROR: Cannot cast type 'time with time zone' to 'interval'
122122
SELECT CAST(interval '02:03' AS time with time zone) AS "02:03:00-08";
123-
ERROR: Cannot cast type 'interval' to 'timetz'
123+
ERROR: Cannot cast type 'interval' to 'time with time zone'
124124
SELECT time with time zone '01:30-08' - interval '02:01' AS "23:29:00-08";
125125
23:29:00-08
126126
-------------
@@ -153,7 +153,7 @@ SELECT CAST(date 'today' + time with time zone '03:30'
153153
(1 row)
154154

155155
SELECT interval '04:30' - time with time zone '01:02' AS "+03:28";
156-
ERROR: Unable to identify an operator '-' for types 'interval' and 'timetz'
156+
ERROR: Unable to identify an operator '-' for types 'interval' and 'time with time zone'
157157
You will have to retype this query using an explicit cast
158158
-- We get 100 rows when run in GMT...
159159
SELECT t.d1 + i.f1 AS "102" FROM TIMESTAMP_TBL t, INTERVAL_TBL i

src/test/regress/output/create_function_1.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CREATE FUNCTION widget_in(opaque)
55
RETURNS widget
66
AS '@abs_builddir@/regress@DLSUFFIX@'
77
LANGUAGE 'c';
8-
NOTICE: ProcedureCreate: type 'widget' is not yet defined
8+
NOTICE: ProcedureCreate: type widget is not yet defined
99
CREATE FUNCTION widget_out(opaque)
1010
RETURNS opaque
1111
AS '@abs_builddir@/regress@DLSUFFIX@'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy