test_br
onderkalaci 2023-04-17 12:14:02 +03:00
parent 8782ea1582
commit bbf24478cf
1 changed files with 6 additions and 0 deletions

View File

@ -223,6 +223,9 @@ distributed_planner(Query *parse,
} }
} }
/* ensure parse is not null */
Assert(parse != NULL);
/* /*
* Make sure that we hide shard names on the Citus MX worker nodes. See comments in * Make sure that we hide shard names on the Citus MX worker nodes. See comments in
* HideShardsFromSomeApplications() for the details. * HideShardsFromSomeApplications() for the details.
@ -236,6 +239,9 @@ distributed_planner(Query *parse,
*/ */
HideCitusDependentObjectsOnQueriesOfPgMetaTables((Node *) parse, NULL); HideCitusDependentObjectsOnQueriesOfPgMetaTables((Node *) parse, NULL);
/* */
/* create a restriction context and put it at the end if context list */ /* create a restriction context and put it at the end if context list */
planContext.plannerRestrictionContext = CreateAndPushPlannerRestrictionContext(); planContext.plannerRestrictionContext = CreateAndPushPlannerRestrictionContext();