Merge: postgresql.pkgs.pg_embedding: remove (#356526)
This commit is contained in:
commit
f370530f87
@ -1,4 +1,6 @@
|
||||
self: super: {
|
||||
self: super: let
|
||||
inherit (self) lib config;
|
||||
in {
|
||||
|
||||
age = super.callPackage ./age.nix { };
|
||||
|
||||
@ -26,8 +28,6 @@ self: super: {
|
||||
|
||||
pg_ed25519 = super.callPackage ./pg_ed25519.nix { };
|
||||
|
||||
pg_embedding = super.callPackage ./pg_embedding.nix { };
|
||||
|
||||
pg_hint_plan = super.callPackage ./pg_hint_plan.nix { };
|
||||
|
||||
pg_ivm = super.callPackage ./pg_ivm.nix { };
|
||||
@ -110,4 +110,6 @@ self: super: {
|
||||
tsja = super.callPackage ./tsja.nix { };
|
||||
|
||||
wal2json = super.callPackage ./wal2json.nix { };
|
||||
} // lib.optionalAttrs config.allowAliases {
|
||||
pg_embedding = throw "PostgreSQL extension `pg_embedding` has been removed since the project has been abandoned. Upstream's recommendation is to use pgvector instead (https://neon.tech/docs/extensions/pg_embedding#migrate-from-pg_embedding-to-pgvector)";
|
||||
}
|
||||
|
@ -1,22 +0,0 @@
|
||||
{ lib, stdenv, fetchFromGitHub, postgresql, buildPostgresqlExtension }:
|
||||
|
||||
buildPostgresqlExtension rec {
|
||||
pname = "pg_embedding";
|
||||
version = "0.3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neondatabase";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-NTBxsQB8mR7e/CWwkCEyDiYhi3Nxl/aKgRBwqc0THcI=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "PostgreSQL extension implementing the HNSW algorithm for vector similarity search";
|
||||
homepage = "https://github.com/neondatabase/pg_embedding";
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = licenses.asl20;
|
||||
knownVulnerabilities = [ "As of Sept 29, 2023, the authors have abandoned the project and strongly encourage using pgvector, which is faster, has more functionality, and is actively maintained: check out the author's instructions to migrate at https://neon.tech/docs/extensions/pg_embedding#migrate-from-pg_embedding-to-pgvector" ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user