Re: Updating row and width estimates in postgres_fdw

2020-02-19 Thread Etsuro Fujita
Hi Ashutosh, Long time no see! On Thu, Feb 13, 2020 at 1:17 AM Ashutosh Bapat wrote: > In postgresGetForeignJoinPaths(), I see > >/* Estimate costs for bare join relation */ > estimate_path_cost_size(root, joinrel, NIL, NIL, NULL, > &rows, &width, &startup_cos

Updating row and width estimates in postgres_fdw

2020-02-12 Thread Ashutosh Bapat
Hi, In postgresGetForeignJoinPaths(), I see /* Estimate costs for bare join relation */ estimate_path_cost_size(root, joinrel, NIL, NIL, NULL, &rows, &width, &startup_cost, &total_cost); /* Now update this information in the joinrel */ joinrel->rows = row