Remove pg_toast_* references from regression tests

pg_toast_* oids are constantly changing, and this causes regression tests to
fail time to time. With this commit, we remove all of the pg_toast_* references
from regression test outputs.
pull/817/head
Metin Doslu 2016-09-09 11:19:29 +03:00 committed by Jason Petersen
parent 1b7c24a938
commit 5494f21541
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
4 changed files with 2 additions and 40 deletions

View File

@ -376,7 +376,6 @@ SELECT o_orderkey FROM orders ORDER BY o_orderkey LIMIT 10 OFFSET 20;
(10 rows)
-- LIMIT/OFFSET with a subquery
SET client_min_messages TO 'debug1';
SET citus.task_executor_type TO 'task-tracker';
SELECT
customer_keys.o_custkey,
@ -389,8 +388,6 @@ GROUP BY
ORDER BY
customer_keys.o_custkey DESC
LIMIT 10 OFFSET 20;
DEBUG: push down of limit count: 30
DEBUG: building index "pg_toast_16992_index" on table "pg_toast_16992"
o_custkey | total_order_count
-----------+-------------------
1466 | 1
@ -406,6 +403,7 @@ DEBUG: building index "pg_toast_16992_index" on table "pg_toast_16992"
(10 rows)
SET citus.task_executor_type TO 'real-time';
SET client_min_messages TO DEBUG1;
-- Ensure that we push down LIMIT and OFFSET properly
-- No Group-By -> Push Down
CREATE TEMP TABLE temp_limit_test_1 AS

View File

@ -674,8 +674,6 @@ LIMIT
-- Same queries above with explain
SET client_min_messages TO DEBUG2;
-- Simple join subquery pushdown
EXPLAIN SELECT
avg(array_length(events, 1)) AS event_average
@ -891,4 +889,3 @@ LIMIT
10;
SET citusdb.task_executor_type TO 'real-time';
SET client_min_messages TO NOTICE;

View File

@ -712,7 +712,6 @@ LIMIT
(3 rows)
-- Same queries above with explain
SET client_min_messages TO DEBUG2;
-- Simple join subquery pushdown
EXPLAIN SELECT
avg(array_length(events, 1)) AS event_average
@ -739,10 +738,6 @@ FROM
GROUP BY
tenant_id,
user_id) AS subquery;
DEBUG: predicate pruning for shardId 270015
DEBUG: predicate pruning for shardId 270016
DEBUG: predicate pruning for shardId 270011
DEBUG: predicate pruning for shardId 270012
QUERY PLAN
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Distributed Query into pg_merge_job_270014
@ -832,17 +827,6 @@ FROM
hasdone) AS subquery_top
GROUP BY
hasdone;
DEBUG: predicate pruning for shardId 270015
DEBUG: predicate pruning for shardId 270016
DEBUG: predicate pruning for shardId 270011
DEBUG: predicate pruning for shardId 270012
DEBUG: predicate pruning for shardId 270015
DEBUG: predicate pruning for shardId 270016
DEBUG: predicate pruning for shardId 270011
DEBUG: predicate pruning for shardId 270012
DEBUG: predicate pruning for shardId 270011
DEBUG: predicate pruning for shardId 270012
DEBUG: building index "pg_toast_17217_index" on table "pg_toast_17217"
QUERY PLAN
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Distributed Query into pg_merge_job_270015
@ -958,16 +942,6 @@ GROUP BY
count_pay
ORDER BY
count_pay;
DEBUG: predicate pruning for shardId 270015
DEBUG: predicate pruning for shardId 270016
DEBUG: predicate pruning for shardId 270011
DEBUG: predicate pruning for shardId 270012
DEBUG: predicate pruning for shardId 270015
DEBUG: predicate pruning for shardId 270016
DEBUG: predicate pruning for shardId 270011
DEBUG: predicate pruning for shardId 270012
DEBUG: predicate pruning for shardId 270011
DEBUG: predicate pruning for shardId 270012
ERROR: bogus varattno for OUTER_VAR var: 3
-- Lateral join subquery pushdown
EXPLAIN SELECT
@ -1019,12 +993,6 @@ ORDER BY
user_lastseen DESC
LIMIT
10;
DEBUG: push down of limit count: 10
DEBUG: predicate pruning for shardId 270015
DEBUG: predicate pruning for shardId 270016
DEBUG: predicate pruning for shardId 270011
DEBUG: predicate pruning for shardId 270012
DEBUG: building index "pg_toast_17226_index" on table "pg_toast_17226"
QUERY PLAN
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Distributed Query into pg_merge_job_270017
@ -1059,4 +1027,3 @@ DEBUG: building index "pg_toast_17226_index" on table "pg_toast_17226"
(29 rows)
SET citusdb.task_executor_type TO 'real-time';
SET client_min_messages TO NOTICE;

View File

@ -174,7 +174,6 @@ SET citus.subquery_pushdown TO false;
SELECT o_orderkey FROM orders ORDER BY o_orderkey LIMIT 10 OFFSET 20;
-- LIMIT/OFFSET with a subquery
SET client_min_messages TO 'debug1';
SET citus.task_executor_type TO 'task-tracker';
SELECT
@ -190,6 +189,7 @@ ORDER BY
LIMIT 10 OFFSET 20;
SET citus.task_executor_type TO 'real-time';
SET client_min_messages TO DEBUG1;
-- Ensure that we push down LIMIT and OFFSET properly
-- No Group-By -> Push Down