fix insert .. select pushdown

pg16_kickoff
onderkalaci 2023-04-28 14:21:24 +03:00
parent c75950e24f
commit 90a4cf886d
1 changed files with 1 additions and 1 deletions

View File

@ -848,7 +848,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_compat(NULL, shardRestrictionList = make_simple_restrictinfo_compat(restriction->plannerInfo,
(Expr *) shardOpExpressions); (Expr *) shardOpExpressions);
extendedBaseRestrictInfo = lappend(extendedBaseRestrictInfo, extendedBaseRestrictInfo = lappend(extendedBaseRestrictInfo,
shardRestrictionList); shardRestrictionList);