From 8cb32cac76c7372f46643abecda872cfb3bacf99 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 9 Jun 2023 21:20:48 -0700 Subject: [PATCH] Added comment [skip ci] --- src/ivfflat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ivfflat.c b/src/ivfflat.c index a35f6e8..29ddabb 100644 --- a/src/ivfflat.c +++ b/src/ivfflat.c @@ -113,6 +113,7 @@ ivfflatcostestimate(PlannerInfo *root, IndexPath *path, double loop_count, genericcostestimate(root, path, loop_count, qinfos, &costs); #endif + /* Use total cost since most work happens before first tuple is returned */ startupCost = costs.indexTotalCost; get_tablespace_page_costs(path->indexinfo->reltablespace, NULL, &spc_seq_page_cost);