Skip to content

Commit 1d45280

Browse files
committed
Improving aqo_pg11.patch
1 parent 2d73a23 commit 1d45280

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

aqo_pg11.patch

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -375,15 +375,6 @@ index 4debdad76f..03f1909bd0 100644
375375

376376
/* use parallel mode for parallel plans. */
377377
root->glob->parallelModeNeeded = true;
378-
@@ -1574,7 +1576,7 @@ create_gather_merge_plan(PlannerInfo *root, GatherMergePath *best_path)
379-
gm_plan = makeNode(GatherMerge);
380-
gm_plan->plan.targetlist = tlist;
381-
gm_plan->num_workers = best_path->num_workers;
382-
- copy_generic_path_info(&gm_plan->plan, &best_path->path);
383-
+ copy_generic_path_info(root, &gm_plan->plan, &best_path->path);
384-
385-
/* Assign the rescan Param. */
386-
gm_plan->rescan_param = SS_assign_special_param(root);
387378
@@ -1702,7 +1704,7 @@ create_projection_plan(PlannerInfo *root, ProjectionPath *best_path, int flags)
388379
/* We need a Result node */
389380
plan = (Plan *) make_result(tlist, NULL, subplan);

storage.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,7 @@ my_simple_heap_update(Relation relation, ItemPointer otid, HeapTuple tup)
855855
elog(ERROR, "unrecognized heap_update status: %u", result);
856856
break;
857857
}
858+
return false;
858859
}
859860

860861

0 commit comments

Comments
 (0)