# pgvector

> Add vector columns to PostgreSQL and query nearest neighbors by vector distance.

HTML: https://freeinstead.app/app/community-07373249-e202-4ade-8daa-502916ad0645/

## Facts

- Category: Developer tools
- Website: https://github.com/pgvector/pgvector
- Free allowance: Free self-hosted extension; PostgreSQL hosting, compute and storage can cost extra.
- Works on: Your own device, Self-hosted
- Open source: yes
- Free route checked: 5 Nov 2026
- Official source: https://github.com/pgvector/pgvector/blob/master/LICENSE

## What you can use it for

- Uses an existing PostgreSQL database for vector storage and similarity search.

## Workflow coverage

Store embedding vectors in PostgreSQL tables and retrieve nearest neighbors using distance operators.

## Before you switch

Requires PostgreSQL administration and deployment; does not ingest documents or generate embeddings. Use 0.8.7 or later for the cited security fixes.
