Remove HnswSpool

It was just used to pass heap/index relations to
HnswParallelScanAndInsert. I think it was copied from nbtsort.c, which
is more complicated. I don't think we need a struct like this.

(That said, I actually think that we should have a state object that
would hold fields like 'heap', 'index', 'procinfo', 'collation'
etc. Passing that object around would simplify the signatures of many
functions. But that's a different story).
This commit is contained in:
Heikki Linnakangas
2024-01-18 21:57:29 +02:00
committed by Andrew Kane
parent d96e486274
commit ca3b4cd029
2 changed files with 9 additions and 27 deletions

View File

@@ -200,12 +200,6 @@ typedef struct HnswGraph
bool flushed;
} HnswGraph;
typedef struct HnswSpool
{
Relation heap;
Relation index;
} HnswSpool;
typedef struct HnswShared
{
/* Immutable state */