Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.0.3 #29

Merged
merged 1 commit into from
Aug 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.3)

set(LANTERNDB_VERSION 0.0.2)
set(LANTERNDB_VERSION 0.0.3)

project(
LanternDB
Expand Down Expand Up @@ -126,7 +126,7 @@ target_compile_definitions(lanterndb PRIVATE _GNU_SOURCE)
set(_script_file "lanterndb--${LANTERNDB_VERSION}.sql")
set (_update_files
sql/updates/0.0.1--0.0.2.sql
sql/updates/0.0.2--latest.sql)
sql/updates/0.0.2--0.0.3.sql)

add_custom_command(
OUTPUT ${CMAKE_BINARY_DIR}/${_script_file}
Expand Down
2 changes: 1 addition & 1 deletion lanterndb.control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
comment = 'LanternDB: Fast vector embedding processing in Postgres'
default_version = '0.0.2'
default_version = '0.0.3'
module_pathname = '$libdir/lanterndb'
relocatable = true
File renamed without changes.
6 changes: 0 additions & 6 deletions src/hnsw.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,6 @@ Datum hnsw_handler(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(amroutine);
}

// dummy handler needed to safely upgrade access method handler
// from embedding_handler to hnsw_handler in 0.0.1 to 0.0.2 transition
PGDLLEXPORT PG_FUNCTION_INFO_V1(embedding_handler);

Datum embedding_handler(PG_FUNCTION_ARGS) { return hnsw_handler(fcinfo); }

PGDLLEXPORT PG_FUNCTION_INFO_V1(l2sq_dist);

static float4 calc_distance(ArrayType *a, ArrayType *b)
Expand Down