ruvector/crates/ruvector-postgres/sql
rUv 87399fa741
fix(postgres): wrap optional-feature SQL functions in DO exception blocks (#485)
`CREATE EXTENSION ruvector` was failing when the extension was built
without optional feature flags (solver, math-distances, tda,
attention-extended, sona-learning, domain-expansion) because the SQL
migration unconditionally registered C functions whose symbols didn't
exist in the compiled .so file.

Wrap all 6 optional-feature sections in DO $ BEGIN ... EXCEPTION WHEN
OTHERS THEN RAISE NOTICE ... END $ blocks so PostgreSQL gracefully skips
missing C function symbols and logs an informational notice instead of
aborting the entire extension load.

Fixes #325

Co-authored-by: ruvnet <ruvnet@gmail.com>
2026-05-22 01:03:20 -04:00
..
access_methods.sql feat(postgres): Add HNSW index and embedding functions support (#62) 2025-12-09 11:14:52 -05:00
embeddings.sql feat(postgres): Add HNSW index and embedding functions support (#62) 2025-12-09 11:14:52 -05:00
graph_examples.sql feat(postgres): Add 53 SQL function definitions for all advanced modules (#46) 2025-12-02 22:49:29 -05:00
hnsw_index.sql feat(postgres): Add ruvector-postgres extension with SIMD optimizations (#42) 2025-12-02 09:55:07 -05:00
ivfflat_am.sql feat(postgres): Add ruvector-postgres extension with SIMD optimizations (#42) 2025-12-02 09:55:07 -05:00
routing_example.sql feat(postgres): Add 53 SQL function definitions for all advanced modules (#46) 2025-12-02 22:49:29 -05:00
ruvector--0.1.0.sql fix(ruvector-postgres): IVFFlat storage, HNSW query, SQL injection fixes 2025-12-26 04:05:58 +00:00
ruvector--0.3.0.sql fix(postgres): wrap optional-feature SQL functions in DO exception blocks (#485) 2026-05-22 01:03:20 -04:00
ruvector--2.0.0--0.3.0.sql feat: add 43 new SQL functions in ruvector-postgres v0.3.0 (ADR-044) 2026-02-21 20:38:43 +00:00
ruvector--2.0.0.sql fix: HNSW index bugs, agent/SPARQL crashes, lru security (#152, #164, #167, #171, #148) 2026-02-15 06:15:00 +00:00