Privacy

Accept optional first-party analytics or decline. Functional journey and sound preferences stay on this device.

Read the privacy notice

Open to talks and workshops

Library itemOctober 10, 2026

pgvector

The reference for vector similarity search in Postgres: types, operators, HNSW and IVFFlat indexes, filtering.

An HNSW index only serves ORDER BY distance LIMIT on the table itself. Wrapping it in DISTINCT ON quietly turned it off for me.

Anyone running RAG on Postgres.