diff --git a/src/halfvec.c b/src/halfvec.c index 4154584..ec53b21 100644 --- a/src/halfvec.c +++ b/src/halfvec.c @@ -27,7 +27,7 @@ #include "parser/scansup.h" #endif -#if PG_VERSION_NUM < 140600 +#if PG_VERSION_NUM < 140006 #define palloc_array(type, count) ((type *) palloc(sizeof(type) * (count))) #endif diff --git a/src/hnsw.h b/src/hnsw.h index b7eee62..18726b5 100644 --- a/src/hnsw.h +++ b/src/hnsw.h @@ -105,7 +105,7 @@ typedef Pointer Item; #define SeedRandom(seed) srandom(seed) #endif -#if PG_VERSION_NUM < 140600 +#if PG_VERSION_NUM < 140006 #define palloc_object(type) ((type *) palloc(sizeof(type))) #define palloc0_object(type) ((type *) palloc0(sizeof(type))) #define palloc_array(type, count) ((type *) palloc(sizeof(type) * (count))) diff --git a/src/ivfflat.h b/src/ivfflat.h index 2db682d..bfff2ac 100644 --- a/src/ivfflat.h +++ b/src/ivfflat.h @@ -89,7 +89,7 @@ typedef Pointer Item; #define SeedRandom(seed) srandom(seed) #endif -#if PG_VERSION_NUM < 140600 +#if PG_VERSION_NUM < 140006 #define palloc_object(type) ((type *) palloc(sizeof(type))) #define palloc0_object(type) ((type *) palloc0(sizeof(type))) #define palloc_array(type, count) ((type *) palloc(sizeof(type) * (count))) diff --git a/src/sparsevec.c b/src/sparsevec.c index 89678f3..ef4796f 100644 --- a/src/sparsevec.c +++ b/src/sparsevec.c @@ -26,7 +26,7 @@ #include "parser/scansup.h" #endif -#if PG_VERSION_NUM < 140600 +#if PG_VERSION_NUM < 140006 #define palloc_array(type, count) ((type *) palloc(sizeof(type) * (count))) #endif diff --git a/src/vector.c b/src/vector.c index 0d4530e..ded309c 100644 --- a/src/vector.c +++ b/src/vector.c @@ -30,7 +30,7 @@ #include "parser/scansup.h" #endif -#if PG_VERSION_NUM < 140600 +#if PG_VERSION_NUM < 140006 #define palloc_array(type, count) ((type *) palloc(sizeof(type) * (count))) #endif