Added missing headers for Postgres < 14

This commit is contained in:
Andrew Kane
2023-09-01 00:07:38 -07:00
parent 86d72d15c2
commit 65e04acab6
2 changed files with 5 additions and 0 deletions

View File

@@ -15,6 +15,10 @@
#error "Requires PostgreSQL 11+"
#endif
#if PG_VERSION_NUM < 120000
#include "access/relscan.h"
#endif
#define HNSW_MAX_DIM 2000
/* Support functions */

View File

@@ -3,6 +3,7 @@
#include <math.h>
#include "access/parallel.h"
#include "access/xact.h"
#include "catalog/index.h"
#include "hnsw.h"
#include "miscadmin.h"