Fix forgotten-mistake in postgresql_fdw.
authorShigeru Hanada <[email protected]>
Fri, 8 Oct 2010 09:12:30 +0000 (18:12 +0900)
committerShigeru Hanada <[email protected]>
Fri, 8 Oct 2010 09:12:30 +0000 (18:12 +0900)
contrib/postgresql_fdw/postgresql_fdw.c

index 774bd6562f42e3c3d76e51138b32e1f26fae6905..45169affdb00fc4aba0f5ad569cc599728861ccd 100644 (file)
@@ -796,7 +796,7 @@ pgGetStatistics(ForeignPath *path, PlannerInfo *root, RelOptInfo *baserel)
    /*
     * Estimate as same as sequencial scan on local table as approximate value.
     */
-   cost_seqscan(&path.path, root, baserel);
+   cost_seqscan(&path->path, root, baserel);
 
    /* XXX override estimated cost */
    path->path.startup_cost = 1000;