---
title: "PostgreSQL & pgvector"
url: https://www.thenirvanalab.com/postgresql-pgvector/
type: page
date: 2026-11-20
modified: 2026-12-03
markdown_url: https://www.thenirvanalab.com/postgresql-pgvector.md
---

# PostgreSQL & pgvector

What is PostgreSQL? PostgreSQL is an open-source object-relational database, released under the permissive PostgreSQL License, known for standards-compliant SQL, ACID transactions, JSONB, rich indexing and extensions. pgvector is an open-source extension that adds a vector data type and similarity search (cosine, inner product, Euclidean) with HNSW and IVFFlat indexes, so embeddings live beside your business...
