Skip to content

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 productPG versionExtension versionCaveat and source
Cloud SQLPG 18Extension 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 SQLPG 17Extension 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 SQLPG 16Extension 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 SQLPG 15Extension 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 SQLPG 14Extension 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 SQLPG 13Extension 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 SQLPG 12Extension ≤ 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 SQLPG 11Extension ≤ 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
NeonPG 19Extension 0.8.7
Supports iterative index scans
Install with CREATE EXTENSION vector; Docs
NeonPG 18Extension 0.8.7
Supports iterative index scans
Install with CREATE EXTENSION vector; Docs
NeonPG 17Extension 0.8.7
Supports iterative index scans
Install with CREATE EXTENSION vector; Docs
NeonPG 16Extension 0.8.7
Supports iterative index scans
Install with CREATE EXTENSION vector; Docs
NeonPG 15Extension 0.8.7
Supports iterative index scans
Install with CREATE EXTENSION vector; Docs
NeonPG 14Extension 0.8.7
Supports iterative index scans
Install with CREATE EXTENSION vector; Docs
Cloud SQLPG 13–18Extension 0.8.5
Supports iterative index scans
Documented version. Check the available versions on your instance. Docs
AWS RDSPG 按引擎次版本 / By engine minorExtension 见官方矩阵 / See matrix
Verify iterative scan support
Engine upgrades do not automatically upgrade installed extensions. Docs
Check support by platform
Check the version on your instance
SELECT version();
SELECT version, installed FROM pg_available_extension_versions
WHERE name = 'vector';
Full extension matrix