Improved performance of HNSW index scans for Postgres 17

This commit is contained in:
Andrew Kane
2025-07-11 16:36:17 -07:00
parent 44163d0a97
commit 911935b695
3 changed files with 72 additions and 8 deletions

View File

@@ -362,6 +362,13 @@ typedef union
ItemPointerData indextid;
} HnswUnvisited;
typedef struct HnswReadStreamData
{
HnswUnvisited *unvisited;
int unvisitedLength;
int index;
} HnswReadStreamData;
typedef struct HnswScanOpaqueData
{
const HnswTypeInfo *typeInfo;