mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-10 06:40:57 +08:00
Switched to PG_MODULE_MAGIC_EXT for Postgres 18+ [skip ci]
This commit is contained in:
@@ -35,7 +35,11 @@
|
|||||||
#define VECTOR_TARGET_CLONES
|
#define VECTOR_TARGET_CLONES
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if PG_VERSION_NUM >= 180000
|
||||||
|
PG_MODULE_MAGIC_EXT(.name = "vector", .version = "0.8.0");
|
||||||
|
#else
|
||||||
PG_MODULE_MAGIC;
|
PG_MODULE_MAGIC;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize index options and variables
|
* Initialize index options and variables
|
||||||
|
|||||||
Reference in New Issue
Block a user