Skip to content

Commit

Permalink
Issue #101: Fixed some more issues with 9.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffMontee committed Oct 25, 2016
1 parent de5bf52 commit 2f37569
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tds_fdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,6 @@ void tdsGetForeignRelSize(PlannerInfo *root, RelOptInfo *baserel, Oid foreigntab
dbclose(dbproc);
dbloginfree(login);

cleanup_before_login:
dbexit();

cleanup_before_init:
Expand Down Expand Up @@ -1892,7 +1891,7 @@ void tdsGetForeignPaths(PlannerInfo *root, RelOptInfo *baserel, Oid foreigntable
add_path(baserel,
(Path *) create_foreignscan_path(root, baserel, baserel->rows, startup_cost, total_cost,
NIL, NULL, NIL));
#if (PG_VERSION_NUM < 90600)
#elif (PG_VERSION_NUM < 90600)
add_path(baserel,
(Path *) create_foreignscan_path(root, baserel, baserel->rows, startup_cost, total_cost,
NIL, NULL, NULL, NIL));
Expand Down

0 comments on commit 2f37569

Please sign in to comment.