ruvector/crates/ruvector-postgres/src/index
rUv 9ebc75aec8 fix(ruvector-postgres): IVFFlat storage, HNSW query, SQL injection fixes
## Index Fixes
- IVFFlat: Implement write_inverted_list() for proper vector storage
- IVFFlat: Update build to write inverted lists with correct page refs
- IVFFlat: Add rewrite_centroids() for in-place centroid updates
- HNSW: Fix hnsw_rescan() to extract query vectors from datum
- HNSW: Implement build_index_from_heap() with proper heap scan

## Security Fixes (3 CRITICAL)
- CVE-PENDING-001: SQL injection in tenant isolation (isolation.rs)
- CVE-PENDING-002: SQL injection in audit logging (operations.rs)
- CVE-PENDING-003: SQL injection via drop partition (isolation.rs)

## New Files
- src/tenancy/validation.rs: Input validation for tenant IDs
- docs/SECURITY_AUDIT_REPORT.md: Full security audit documentation

## Verified
- IVFFlat index build:  Collects and stores vectors
- IVFFlat query:  Returns correct results
- HNSW index build:  Working
- HNSW query:  Returns correct results

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 04:05:58 +00:00
..
bgworker.rs feat(postgres): Add ruvector-postgres extension with SIMD optimizations (#42) 2025-12-02 09:55:07 -05:00
hnsw.rs feat(ruvector-postgres): Complete v2.0.0 with 148 SQL functions 2025-12-25 23:41:29 +00:00
hnsw_am.rs fix(ruvector-postgres): IVFFlat storage, HNSW query, SQL injection fixes 2025-12-26 04:05:58 +00:00
ivfflat.rs feat(postgres): Add ruvector-postgres extension with SIMD optimizations (#42) 2025-12-02 09:55:07 -05:00
ivfflat_am.rs fix(ruvector-postgres): IVFFlat storage, HNSW query, SQL injection fixes 2025-12-26 04:05:58 +00:00
ivfflat_storage.rs feat(ruvector-postgres): Complete v2.0.0 with 148 SQL functions 2025-12-25 23:41:29 +00:00
mod.rs feat(ruvector-postgres): Complete v2.0.0 with 148 SQL functions 2025-12-25 23:41:29 +00:00
parallel.rs feat(postgres): Add ruvector-postgres extension with SIMD optimizations (#42) 2025-12-02 09:55:07 -05:00
parallel_ops.rs feat(postgres): Add ruvector-postgres extension with SIMD optimizations (#42) 2025-12-02 09:55:07 -05:00
scan.rs feat(postgres): Add ruvector-postgres extension with SIMD optimizations (#42) 2025-12-02 09:55:07 -05:00