CREATE TYPE vector;
CREATE OR REPLACE FUNCTION vector_in(cstring) RETURNS vector IMMUTABLE STRICT PARALLEL SAFE LANGUAGE C AS 'MODULE_PATHNAME', 'vector_in_wrapper';
CREATE OR REPLACE FUNCTION vector_out(vector) RETURNS cstring IMMUTABLE STRICT PARALLEL SAFE LANGUAGE C AS 'MODULE_PATHNAME', 'vector_out_wrapper';
CREATE TYPE vector (
INTERNALLENGTH = variable,
INPUT = vector_in,
OUTPUT = vector_out,
STORAGE = extended
);
-- ./src/lib.rs:30:0
CREATE OR REPLACE FUNCTION "hello_pgvector_rs"() RETURNS text STRICT LANGUAGE c AS 'MODULE_PATHNAME', 'hello_pgvector_rs_wrapper';
-- ./src/lib.rs:175:0
CREATE OR REPLACE FUNCTION "set_allocator_dim"("block" integer, "dimemsion" smallint) RETURNS void STRICT LANGUAGE c AS 'MODULE_PATHNAME', 'set_allocator_dim_wrapper';
-- ./src/lib.rs:182:0
CREATE OR REPLACE FUNCTION "fill_vec_allocator"("block" integer, "vecs" integer) RETURNS void STRICT LANGUAGE c AS 'MODULE_PATHNAME', 'fill_vec_allocator_wrapper';
-- ./src/lib.rs:197:0
CREATE OR REPLACE FUNCTION "push_vec_to_mem"("block" integer, "vec" real[]) RETURNS void STRICT LANGUAGE c AS 'MODULE_PATHNAME', 'push_vec_to_mem_wrapper';
-- ./src/lib.rs:210:0
CREATE OR REPLACE FUNCTION "query_vec"("block" integer, "vec" real[], "ids" bigint[]) RETURNS TABLE ("index" bigint, "score" real) STRICT LANGUAGE c AS 'MODULE_PATHNAME', 'query_vec_wrapper';