projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f71b1
)
Fix some comments.
author
Shigeru Hanada
<
[email protected]
>
Thu, 18 Nov 2010 07:02:39 +0000
(16:02 +0900)
committer
Shigeru Hanada
<
[email protected]
>
Thu, 18 Nov 2010 07:02:39 +0000
(16:02 +0900)
contrib/postgresql_fdw/postgresql_fdw.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/postgresql_fdw/postgresql_fdw.c
b/contrib/postgresql_fdw/postgresql_fdw.c
index 703e5dcf32df31b67c254ddf86c589817eff1fa8..62dfb346821b47808d01b5462dc9cc9bec2e3382 100644
(file)
--- a/
contrib/postgresql_fdw/postgresql_fdw.c
+++ b/
contrib/postgresql_fdw/postgresql_fdw.c
@@
-755,11
+755,11
@@
pgEstimateCosts(ForeignPath *path, PlannerInfo *root, RelOptInfo *baserel)
elog(DEBUG3, "%s() called", __FUNCTION__);
/*
- *
Estimate as same as sequencial scan on local table as
approximate value.
+ *
Use cost_seqscan() to get
approximate value.
*/
cost_seqscan(&path->path, root, baserel);
- /* Get cost factor from catalog
and correct costs with them
. */
+ /* Get cost factor from catalog
to correct costs
. */
rte = planner_rt_fetch(baserel->relid, root);
get_server_costs(rte->relid, &connection_cost, &transfer_cost);
path->path.startup_cost += connection_cost;