Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ba59b9

Browse files
committed
9.6devel-related fixes
1 parent 54246dd commit 5ba59b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ create_crossmatch_path(PlannerInfo *root,
330330
result->cpath.path.parent = joinrel;
331331
result->cpath.path.param_info = param_info;
332332
result->cpath.path.pathkeys = NIL;
333-
result->cpath.path.pathtarget = &joinrel->reltarget;
333+
result->cpath.path.pathtarget = joinrel->reltarget;
334334
result->cpath.path.rows = joinrel->rows;
335335
result->cpath.flags = 0;
336336
result->cpath.methods = &crossmatch_path_methods;
@@ -486,7 +486,7 @@ create_crossmatch_plan(PlannerInfo *root,
486486
cscan->scan.scanrelid = 0;
487487

488488
/* tlist of the 'virtual' join rel we'll have to build and scan */
489-
cscan->custom_scan_tlist = make_tlist_from_pathtarget(&rel->reltarget);
489+
cscan->custom_scan_tlist = make_tlist_from_pathtarget(rel->reltarget);
490490

491491
cscan->flags = best_path->flags;
492492
cscan->methods = &crossmatch_plan_methods;

0 commit comments

Comments
 (0)