mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Push target list evaluation through Gather Merge.
We already do this for Gather, but it got overlooked for Gather Merge. Amit Kapila, with review and minor revisions by Rushabh Lathia and by me. Discussion: http://postgr.es/m/CAA4eK1KUC5Uyu7qaifxrjpHxbSeoQh3yzwN3bThnJsmJcZ-qtA@mail.gmail.com
This commit is contained in:
@ -5060,7 +5060,8 @@ create_ordered_paths(PlannerInfo *root,
|
||||
path = (Path *)
|
||||
create_gather_merge_path(root, ordered_rel,
|
||||
path,
|
||||
target, root->sort_pathkeys, NULL,
|
||||
path->pathtarget,
|
||||
root->sort_pathkeys, NULL,
|
||||
&total_groups);
|
||||
|
||||
/* Add projection step if needed */
|
||||
|
Reference in New Issue
Block a user