pgvector.git / summary / log / commit / refs

commit    523788d96438cb330b6aaed8b347372d0de458bb
Author:   Andrew Kane <andrew@ankane.org>
Date:     Wed Jun 09 10:59:00 2021 +0000

    Improved code


src/ivfflat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ivfflat.c b/src/ivfflat.c index 40442f9b..1f4ba32a 100644 --- a/src/ivfflat.c +++ b/src/ivfflat.c @@ -49,8 +49,6 @@ ivfflatcostestimate(PlannerInfo *root, IndexPath *path, double loop_count, #if PG_VERSION_NUM < 120000 List *qinfos; - - qinfos = deconstruct_indexquals(path); #endif /* Never use index without order */ @@ -71,6 +69,7 @@ ivfflatcostestimate(PlannerInfo *root, IndexPath *path, double loop_count, #if PG_VERSION_NUM >= 120000 genericcostestimate(root, path, loop_count, &costs); #else + qinfos = deconstruct_indexquals(path); genericcostestimate(root, path, loop_count, qinfos, &costs); #endif [parent: 1eed57310a93]