Fixed installation error with Postgres 12.0-12.2 - fixes #101

This commit is contained in:
Andrew Kane
2023-04-25 09:36:21 -07:00
parent 6383078029
commit d5b17a3624
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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)
{