Call 6 times not 7 in subquery_prepared_statements (#4357)

pull/4367/head
SaitTalhaNisanci 2020-11-30 21:20:51 +03:00 committed by GitHub
parent 03bcccdee0
commit c31a8df380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 11 deletions

View File

@ -119,16 +119,6 @@ EXECUTE subquery_prepare_without_param;
(5,4) (5,4)
(5 rows) (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); EXECUTE subquery_prepare_param_on_partkey(1);
DEBUG: push down of limit count: 5 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 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_without_param; EXECUTE subquery_prepare_without_param;
EXECUTE subquery_prepare_without_param;
EXECUTE subquery_prepare_param_on_partkey(1); EXECUTE subquery_prepare_param_on_partkey(1);