fix insert .. select pushdown

naisila/check_router_fix
onderkalaci 2023-04-28 14:21:24 +03:00 committed by naisila
parent d35c436a28
commit fab634f81e
1 changed files with 1 additions and 1 deletions

View File

@ -907,7 +907,7 @@ RouterModifyTaskForShardInterval(Query *originalQuery,
* Note that this is only the case with PG14 as the parameter doesn't exist * Note that this is only the case with PG14 as the parameter doesn't exist
* prior to that. * prior to that.
*/ */
shardRestrictionList = make_simple_restrictinfo(NULL, shardRestrictionList = make_simple_restrictinfo(restriction->plannerInfo,
(Expr *) shardOpExpressions); (Expr *) shardOpExpressions);
extendedBaseRestrictInfo = lappend(extendedBaseRestrictInfo, extendedBaseRestrictInfo = lappend(extendedBaseRestrictInfo,
shardRestrictionList); shardRestrictionList);