Switched to PG_MODULE_MAGIC_EXT for Postgres 18+ [skip ci]

This commit is contained in:
Andrew Kane committed 2025-07-31 19:59:27 -07:00
1 parent 6ef7fccb5c
commit e29fc3aa1a
1 file changed
+4
+4
View File
@@ -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