Make max dimensions consistent across types [skip ci]

This commit is contained in:
Andrew Kane
2024-03-28 16:41:13 -07:00
parent 4f1a379638
commit 49bc34caf3
3 changed files with 5 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
#define HALF_MAX 65504
#endif
#define HALFVEC_MAX_DIM 32000
#define HALFVEC_MAX_DIM 16000
#define HALFVEC_SIZE(_dim) (offsetof(HalfVector, x) + sizeof(half)*(_dim))
#define DatumGetHalfVector(x) ((HalfVector *) PG_DETOAST_DATUM(x))