Commit 3eb98fd1 authored by Tom Lane's avatar Tom Lane

Adjust horology test to avoid join-plan-dependent result ordering in

a few queries.  Should fix buildfarm failures arising from new,
more aggressive autovac settings.
parent a1b33667
This diff is collapsed.
...@@ -157,19 +157,19 @@ SELECT CAST(CAST(date 'today' + time with time zone '05:30' ...@@ -157,19 +157,19 @@ SELECT CAST(CAST(date 'today' + time with time zone '05:30'
SELECT CAST(cast(date 'today' + time with time zone '03:30' 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 t.d1 + i.f1 AS "102" FROM TIMESTAMP_TBL t, INTERVAL_TBL i SELECT t.d1 AS t, i.f1 AS i, t.d1 + i.f1 AS "add", t.d1 - i.f1 AS "subtract"
FROM TIMESTAMP_TBL t, INTERVAL_TBL i
WHERE t.d1 BETWEEN '1990-01-01' AND '2001-01-01' WHERE t.d1 BETWEEN '1990-01-01' AND '2001-01-01'
AND i.f1 BETWEEN '00:00' AND '23:00'; AND i.f1 BETWEEN '00:00' AND '23:00'
ORDER BY 1,2;
SELECT t.d1 - i.f1 AS "102" FROM TIMESTAMP_TBL t, INTERVAL_TBL i SELECT t.f1 AS t, i.f1 AS i, t.f1 + i.f1 AS "add", t.f1 - i.f1 AS "subtract"
WHERE t.d1 BETWEEN '1990-01-01' AND '2001-01-01' FROM TIME_TBL t, INTERVAL_TBL i
AND i.f1 BETWEEN '00:00' AND '23:00'; ORDER BY 1,2;
SELECT t.f1 + i.f1 AS "80" FROM TIME_TBL t, INTERVAL_TBL i;
SELECT t.f1 - i.f1 AS "80" FROM TIME_TBL t, INTERVAL_TBL i;
SELECT t.f1 + i.f1 AS "100" FROM TIMETZ_TBL t, INTERVAL_TBL i; SELECT t.f1 AS t, i.f1 AS i, t.f1 + i.f1 AS "add", t.f1 - i.f1 AS "subtract"
SELECT t.f1 - i.f1 AS "100" FROM TIMETZ_TBL t, INTERVAL_TBL i; FROM TIMETZ_TBL t, INTERVAL_TBL i
ORDER BY 1,2;
-- SQL9x OVERLAPS operator -- SQL9x OVERLAPS operator
-- test with time zone -- test with time zone
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment