We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent54246dd commit5ba59b9Copy full SHA for 5ba59b9
init.c
@@ -330,7 +330,7 @@ create_crossmatch_path(PlannerInfo *root,
330
result->cpath.path.parent=joinrel;
331
result->cpath.path.param_info=param_info;
332
result->cpath.path.pathkeys=NIL;
333
-result->cpath.path.pathtarget=&joinrel->reltarget;
+result->cpath.path.pathtarget=joinrel->reltarget;
334
result->cpath.path.rows=joinrel->rows;
335
result->cpath.flags=0;
336
result->cpath.methods=&crossmatch_path_methods;
@@ -486,7 +486,7 @@ create_crossmatch_plan(PlannerInfo *root,
486
cscan->scan.scanrelid=0;
487
488
/* tlist of the 'virtual' join rel we'll have to build and scan */
489
-cscan->custom_scan_tlist=make_tlist_from_pathtarget(&rel->reltarget);
+cscan->custom_scan_tlist=make_tlist_from_pathtarget(rel->reltarget);
490
491
cscan->flags=best_path->flags;
492
cscan->methods=&crossmatch_plan_methods;