Moved _PG_init

This commit is contained in:
Andrew Kane
2023-07-16 20:03:34 -07:00
parent ad8df27fbb
commit 6e8746277e
4 changed files with 16 additions and 4 deletions

View File

@@ -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
*/