From 97c73e0f3dfe455a6eaa31cc8996412ca79828d5 Mon Sep 17 00:00:00 2001 From: SilasMarvin <19626586+SilasMarvin@users.noreply.github.com> Date: Mon, 13 May 2024 13:07:28 -0700 Subject: [PATCH] Add migration and bump extension version --- pgml-extension/Cargo.toml | 2 +- pgml-extension/sql/pgml--2.8.4--2.8.5.sql | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 pgml-extension/sql/pgml--2.8.4--2.8.5.sql diff --git a/pgml-extension/Cargo.toml b/pgml-extension/Cargo.toml index 86d94c124..c596e2d53 100644 --- a/pgml-extension/Cargo.toml +++ b/pgml-extension/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgml" -version = "2.8.4" +version = "2.8.5" edition = "2021" [lib] diff --git a/pgml-extension/sql/pgml--2.8.4--2.8.5.sql b/pgml-extension/sql/pgml--2.8.4--2.8.5.sql new file mode 100644 index 000000000..59255b933 --- /dev/null +++ b/pgml-extension/sql/pgml--2.8.4--2.8.5.sql @@ -0,0 +1,9 @@ +-- pgml::api::embed +CREATE OR REPLACE FUNCTION pgml."embed"( + "transformer" TEXT, /* &str */ + "inputs" TEXT[], /* alloc::vec::Vec<&str> */ + "kwargs" jsonb DEFAULT '{}' /* pgrx::datum::json::JsonB */ +) RETURNS SETOF real[] /* alloc::vec::Vec */ +IMMUTABLE STRICT PARALLEL SAFE +LANGUAGE c /* Rust */ +AS 'MODULE_PATHNAME', 'embed_batch_wrapper'; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy