Remove useless debug message in router planner

pull/3887/head
Marco Slot 2020-06-12 10:27:22 +02:00 committed by Hadi Moshayedi
parent d953f084db
commit 080f711e62
2 changed files with 0 additions and 4 deletions

View File

@ -2145,8 +2145,6 @@ PlanRouterQuery(Query *originalQuery,
hasLocalRelation); hasLocalRelation);
if (taskPlacementList == NIL) if (taskPlacementList == NIL)
{ {
ereport(DEBUG2, (errmsg("Found no worker with all shard placements")));
planningError = DeferredError(ERRCODE_FEATURE_NOT_SUPPORTED, planningError = DeferredError(ERRCODE_FEATURE_NOT_SUPPORTED,
"found no worker with all shard placements", "found no worker with all shard placements",
NULL, NULL); NULL, NULL);

View File

@ -825,7 +825,6 @@ SELECT a.author_id as first_author, b.word_count as second_word_count
FROM articles_hash a, single_shard b FROM articles_hash a, single_shard b
WHERE a.author_id = 2 and a.author_id = b.author_id WHERE a.author_id = 2 and a.author_id = b.author_id
LIMIT 3; LIMIT 3;
DEBUG: Found no worker with all shard placements
DEBUG: found no worker with all shard placements DEBUG: found no worker with all shard placements
DEBUG: generating subplan XXX_1 for CTE single_shard: SELECT id, author_id, title, word_count FROM public.articles_single_shard_hash DEBUG: generating subplan XXX_1 for CTE single_shard: SELECT id, author_id, title, word_count FROM public.articles_single_shard_hash
DEBUG: Creating router plan DEBUG: Creating router plan
@ -1941,7 +1940,6 @@ DETAIL: distribution column value: 2
-- not router plannable -- not router plannable
SELECT * FROM articles_hash ar join authors_range au on (ar.author_id = au.id) SELECT * FROM articles_hash ar join authors_range au on (ar.author_id = au.id)
WHERE ar.author_id = 3; WHERE ar.author_id = 3;
DEBUG: Found no worker with all shard placements
DEBUG: found no worker with all shard placements DEBUG: found no worker with all shard placements
DEBUG: join prunable for intervals [1,10] and [11,30] DEBUG: join prunable for intervals [1,10] and [11,30]
DEBUG: join prunable for intervals [1,10] and [21,40] DEBUG: join prunable for intervals [1,10] and [21,40]