mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-03 19:20:56 +08:00
Moved _PG_init
This commit is contained in:
11
src/vector.c
11
src/vector.c
@@ -2,7 +2,9 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include "ivfflat.h"
|
||||
#include "vector.h"
|
||||
|
||||
#include "fmgr.h"
|
||||
#include "catalog/pg_type.h"
|
||||
#include "lib/stringinfo.h"
|
||||
@@ -29,6 +31,15 @@
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/*
|
||||
* Initialize index options and variables
|
||||
*/
|
||||
void
|
||||
_PG_init(void)
|
||||
{
|
||||
IvfflatInit();
|
||||
}
|
||||
|
||||
/*
|
||||
* Ensure same dimensions
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user