Skip to content

Commit

Permalink
fix: upgrade from v0.1.10 (#408)
Browse files Browse the repository at this point in the history
Signed-off-by: cutecutecat <[email protected]>
  • Loading branch information
cutecutecat authored Mar 4, 2024
1 parent 1389a16 commit 4fa370c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions sql/upgrade/vectors--0.1.10--0.2.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,6 @@ CREATE TYPE vector_index_stat AS (
idx_options TEXT
);

CREATE VIEW pg_vector_index_info AS
SELECT
C.oid AS tablerelid,
I.oid AS indexrelid,
C.relname AS tablename,
I.relname AS indexname,
(vector_stat(I.oid)).*
FROM pg_class C JOIN
pg_index X ON C.oid = X.indrelid JOIN
pg_class I ON I.oid = X.indexrelid JOIN
pg_am A ON A.oid = I.relam
WHERE A.amname = 'vectors';

-- List of shell types

CREATE TYPE vecf16;
Expand Down

0 comments on commit 4fa370c

Please sign in to comment.