Fixing ERROR: column cannot have more than 2000 dimensions in pgvector HNSW
If you migrate a PostgreSQL Retrieval-Augmented Generation (RAG) table from 1536 -dimensional embeddings to 3072 -dimensional vectors ( text-embedding-3-large or gemini-embedding-001 ) and build an HNSW index, PostgreSQL immediately aborts DDL execution: ERROR: column cannot have more than 2000 dim…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-03 20:43 · DEV Community — AI
Fixing ERROR: column cannot have more than 2000 dimensions in pgvector HNSW