pgvector Compatibility
Standard vector similarity search with HNSW/IVFFlat indexes and halfvec/sparsevec/bit quantization.
CREATE EXTENSION vector;
Version evidence reviewed
Iterative index scans can find more matches in filtered vector searches. They require pgvector 0.8.0 or later and are unavailable in the listed 0.7.x versions. Upstream release notes · pgvector security advisories
| Cloud product | PG version | Extension version | Caveat and source |
|---|---|---|---|
| Cloud SQL | PG 18 | Extension 0.8.5 Supports iterative index scans | PostgreSQL versions 13 and later support version 0.8.5, PostgreSQL version 12 supports up to version 0.7.4, and PostgreSQL version 11 supports up to version 0.5.1. Docs |
| Cloud SQL | PG 17 | Extension 0.8.5 Supports iterative index scans | PostgreSQL versions 13 and later support version 0.8.5, PostgreSQL version 12 supports up to version 0.7.4, and PostgreSQL version 11 supports up to version 0.5.1. Docs |
| Cloud SQL | PG 16 | Extension 0.8.5 Supports iterative index scans | PostgreSQL versions 13 and later support version 0.8.5, PostgreSQL version 12 supports up to version 0.7.4, and PostgreSQL version 11 supports up to version 0.5.1. Docs |
| Cloud SQL | PG 15 | Extension 0.8.5 Supports iterative index scans | PostgreSQL versions 13 and later support version 0.8.5, PostgreSQL version 12 supports up to version 0.7.4, and PostgreSQL version 11 supports up to version 0.5.1. Docs |
| Cloud SQL | PG 14 | Extension 0.8.5 Supports iterative index scans | PostgreSQL versions 13 and later support version 0.8.5, PostgreSQL version 12 supports up to version 0.7.4, and PostgreSQL version 11 supports up to version 0.5.1. Docs |
| Cloud SQL | PG 13 | Extension 0.8.5 Supports iterative index scans | PostgreSQL versions 13 and later support version 0.8.5, PostgreSQL version 12 supports up to version 0.7.4, and PostgreSQL version 11 supports up to version 0.5.1. Docs |
| Cloud SQL | PG 12 | Extension ≤ 0.7.4 No iterative index scans | PostgreSQL versions 13 and later support version 0.8.5, PostgreSQL version 12 supports up to version 0.7.4, and PostgreSQL version 11 supports up to version 0.5.1. Docs |
| Cloud SQL | PG 11 | Extension ≤ 0.5.1 No iterative index scans | PostgreSQL versions 13 and later support version 0.8.5, PostgreSQL version 12 supports up to version 0.7.4, and PostgreSQL version 11 supports up to version 0.5.1. Docs |
| Neon | PG 19 | Extension 0.8.7 Supports iterative index scans | Install with CREATE EXTENSION vector; Docs |
| Neon | PG 18 | Extension 0.8.7 Supports iterative index scans | Install with CREATE EXTENSION vector; Docs |
| Neon | PG 17 | Extension 0.8.7 Supports iterative index scans | Install with CREATE EXTENSION vector; Docs |
| Neon | PG 16 | Extension 0.8.7 Supports iterative index scans | Install with CREATE EXTENSION vector; Docs |
| Neon | PG 15 | Extension 0.8.7 Supports iterative index scans | Install with CREATE EXTENSION vector; Docs |
| Neon | PG 14 | Extension 0.8.7 Supports iterative index scans | Install with CREATE EXTENSION vector; Docs |
| Cloud SQL | PG 13–18 | Extension 0.8.5 Supports iterative index scans | Documented version. Check the available versions on your instance. Docs |
| AWS RDS | PG 按引擎次版本 / By engine minor | Extension 见官方矩阵 / See matrix Verify iterative scan support | Engine upgrades do not automatically upgrade installed extensions. Docs |
Check support by platform
- AWS RDS for PostgreSQL
Supported
- Amazon Aurora PostgreSQL
Supported
- Supabase Postgres
Supported
- Neon Serverless Postgres
Supported
- Google Cloud SQL for PostgreSQL
Supported
- Azure Database for PostgreSQL
Supported
- Self-Hosted PostgreSQL
Supported
Check the version on your instance
SELECT version(); SELECT version, installed FROM pg_available_extension_versions WHERE name = 'vector';