diff --git a/CHANGELOG.md b/CHANGELOG.md index 23865e0..35cc519 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.4.2 (unreleased) - Added notice when index created with little data +- Fixed installation error with Postgres 12.0-12.2 ## 0.4.1 (2023-03-21) diff --git a/src/vector.c b/src/vector.c index 8ba1952..7c128e5 100644 --- a/src/vector.c +++ b/src/vector.c @@ -100,7 +100,7 @@ CheckStateArray(ArrayType *statearray, const char *caller) return (float8 *) ARR_DATA_PTR(statearray); } -#if PG_VERSION_NUM < 120000 +#if PG_VERSION_NUM < 120003 static pg_noinline void float_overflow_error(void) {