Skip to content

Commit

Permalink
Remove alternative solution comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyacheslav Kompan committed Nov 21, 2023
1 parent 55c56c7 commit aeb7023
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/backend/optimizer/path/allpaths.c
Original file line number Diff line number Diff line change
Expand Up @@ -2136,9 +2136,6 @@ set_cte_pathlist(PlannerInfo *root, RelOptInfo *rel, RangeTblEntry *rte)
* Create another ShareInputScan to reference the already-created
* subplan if not avoiding sharing. Sharing SegmentGeneral subplan may
* lead to deadlock when executed with 1-gang and joined with Hashed.
* Forcing locus to Replicated leads to redundant motions if we join
* shared plan with another SegmentGeneral node. Thus, we should avoid
* sharing SegmentGeneral subplans.
*/
if (cteplaninfo->subplan->flow->locustype != CdbLocusType_SegmentGeneral)
{
Expand Down

0 comments on commit aeb7023

Please sign in to comment.