Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9ec6718

Browse files
author
Sokolov Yura
committed
Merge branch 'PGPROEE10-in_memory' into PGPROEE10_DEV
2 parents a6a419e + 7dbc5fe commit 9ec6718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/in_memory/fdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ imGetForeignPaths(PlannerInfo *root, RelOptInfo *baserel, Oid foreigntableid)
619619
ListCell *lc;
620620

621621
startup_cost = baserel->baserestrictcost.startup +
622-
cpu_index_tuple_cost * log2(pstate->pages * (BLCKSZ / IN_MEMORY_BLCKSZ));
622+
cpu_index_tuple_cost * log(pstate->pages * (BLCKSZ / IN_MEMORY_BLCKSZ));
623623
cpu_per_tuple = cpu_tuple_cost + baserel->baserestrictcost.per_tuple;
624624
total_cost = startup_cost + cpu_per_tuple * ntuples;
625625

0 commit comments

Comments
 (0)