Call 6 times not 7 in subquery_prepared_statements

pull/4693/head
Sait Talha Nisanci 2020-11-30 12:12:06 +03:00 committed by Onder Kalaci
parent 23951c562e
commit 7480160f4f
2 changed files with 0 additions and 11 deletions

View File

@ -119,16 +119,6 @@ EXECUTE subquery_prepare_without_param;
(5,4)
(5 rows)
EXECUTE subquery_prepare_without_param;
values_of_subquery
---------------------------------------------------------------------
(6,4)
(6,3)
(6,2)
(6,1)
(5,4)
(5 rows)
EXECUTE subquery_prepare_param_on_partkey(1);
DEBUG: push down of limit count: 5
DEBUG: generating subplan XXX_1 for subquery SELECT DISTINCT ROW(users_table.user_id, events_table.event_type)::subquery_prepared_statements.xy AS values_of_subquery FROM public.users_table, public.events_table WHERE ((users_table.user_id OPERATOR(pg_catalog.=) events_table.user_id) AND ((users_table.user_id OPERATOR(pg_catalog.=) 1) OR (users_table.user_id OPERATOR(pg_catalog.=) 2)) AND (events_table.event_type OPERATOR(pg_catalog.=) ANY (ARRAY[1, 2, 3, 4]))) ORDER BY ROW(users_table.user_id, events_table.event_type)::subquery_prepared_statements.xy DESC LIMIT 5

View File

@ -64,7 +64,6 @@ EXECUTE subquery_prepare_without_param;
EXECUTE subquery_prepare_without_param;
EXECUTE subquery_prepare_without_param;
EXECUTE subquery_prepare_without_param;
EXECUTE subquery_prepare_without_param;
EXECUTE subquery_prepare_param_on_partkey(1);