diff --git a/src/vector.c b/src/vector.c index 66db3d2..256d632 100644 --- a/src/vector.c +++ b/src/vector.c @@ -35,7 +35,11 @@ #define VECTOR_TARGET_CLONES #endif +#if PG_VERSION_NUM >= 180000 +PG_MODULE_MAGIC_EXT(.name = "vector", .version = "0.8.0"); +#else PG_MODULE_MAGIC; +#endif /* * Initialize index options and variables