Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit776a2c8

Browse files
committed
Remove unstable test case added in commit5935917.
The buildfarm says this produces some unexpected output withforce_parallel_mode = regress. There's probably a bug underneaththat, but for the moment just delete the test case to make thebuildfarm green again.(I now notice that the case had also failed to get updated to followcommitd52eaa0, which made plan_cache_mode = force_generic_planprevail throughout partition_prune.sql; it was thereby managing tobreak a later test. When/if we put this back in, *don't* include theSET and RESET commands.)
1 parent5935917 commit776a2c8

File tree

2 files changed

+7
-31
lines changed

2 files changed

+7
-31
lines changed

‎src/test/regress/expected/partition_prune.out

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3161,21 +3161,6 @@ execute mt_q1(35);
31613161
(0 rows)
31623162

31633163
deallocate mt_q1;
3164-
set plan_cache_mode = force_generic_plan;
3165-
prepare mt_q2 (int) as select * from ma_test where a >= $1 order by b limit 1;
3166-
-- Ensure output list looks sane when the MergeAppend has no subplans.
3167-
explain (analyze, verbose, costs off, summary off, timing off) execute mt_q2 (35);
3168-
QUERY PLAN
3169-
--------------------------------------------
3170-
Limit (actual rows=0 loops=1)
3171-
Output: ma_test.a, ma_test.b
3172-
-> Merge Append (actual rows=0 loops=1)
3173-
Sort Key: ma_test.b
3174-
Subplans Removed: 3
3175-
(5 rows)
3176-
3177-
deallocate mt_q2;
3178-
reset plan_cache_mode;
31793164
-- ensure initplan params properly prune partitions
31803165
explain (analyze, costs off, summary off, timing off) select * from ma_test where a >= (select min(b) from ma_test_p2) order by b;
31813166
QUERY PLAN
@@ -3593,18 +3578,19 @@ from (
35933578
) s(a, b, c)
35943579
where s.a = $1 and s.b = $2 and s.c = (select 1);
35953580
explain (costs off) execute q (1, 1);
3596-
QUERY PLAN
3597-
----------------------------------------------------
3581+
QUERY PLAN
3582+
---------------------------------------------------------------
35983583
Append
35993584
InitPlan 1 (returns $0)
36003585
-> Result
3586+
Subplans Removed: 1
36013587
-> Seq Scan on p1 p
3602-
Filter: ((a = 1) AND (b =1) AND (c = $0))
3588+
Filter: ((a =$1) AND (b =$2) AND (c = $0))
36033589
-> Seq Scan on q111 q1
3604-
Filter: ((a = 1) AND (b =1) AND (c = $0))
3590+
Filter: ((a =$1) AND (b =$2) AND (c = $0))
36053591
-> Result
3606-
One-Time Filter: (1 = $0)
3607-
(9 rows)
3592+
One-Time Filter: ((1 = $1) AND (1 = $2) AND (1 = $0))
3593+
(10 rows)
36083594

36093595
execute q (1, 1);
36103596
a | b | c

‎src/test/regress/sql/partition_prune.sql

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -838,16 +838,6 @@ execute mt_q1(35);
838838

839839
deallocate mt_q1;
840840

841-
set plan_cache_mode= force_generic_plan;
842-
843-
prepare mt_q2 (int)asselect*from ma_testwhere a>= $1order by blimit1;
844-
845-
-- Ensure output list looks sane when the MergeAppend has no subplans.
846-
explain (analyze, verbose, costs off, summary off, timing off) execute mt_q2 (35);
847-
848-
deallocate mt_q2;
849-
reset plan_cache_mode;
850-
851841
-- ensure initplan params properly prune partitions
852842
explain (analyze, costs off, summary off, timing off)select*from ma_testwhere a>= (selectmin(b)from ma_test_p2)order by b;
853843

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp