Fixed compilation errors with Postgres 19

This commit is contained in:
Andrew Kane
2025-12-10 14:59:29 -08:00
parent b7c0085afe
commit d72ee71f23
5 changed files with 13 additions and 5 deletions

View File

@@ -12,6 +12,10 @@
#include "utils/sampling.h"
#include "vector.h"
#if PG_VERSION_NUM >= 190000
typedef Pointer Item;
#endif
#define HNSW_MAX_DIM 2000
#define HNSW_MAX_NNZ 1000