Skip to content
50 extensions·7 targets·Verified: 2026-11-18

PostgreSQL Extensions

Organized by use case with install SQL and inline cloud support. CloudNativePG docs ↗

Environment:
SupportedPartialUnsupported

AI Vector & Search

10

Standard vector similarity search with HNSW/IVFFlat indexes and halfvec/sparsevec/bit quantization.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Rust StreamingDiskANN index and Statistical Binary Quantization for high-scale vector workloads.

Caveat / Workaround: On managed clouds, use pgvector 0.7+ halfvec or binary quantization with HNSW, or deploy on Tiger Cloud / CNPG.
Supported on:Self-hostedAzure PG (Partial)
Not supported:AWS RDS · Aurora · Supabase · Neon · Cloud SQL

Tantivy-powered BM25 full-text search and hybrid lexical+vector ranking inside Postgres.

Caveat / Workaround: On locked-down managed clouds, combine native tsvector + GIN + pg_trgm, or run CNPG with extension image volumes.
Supported on:Self-hosted(Not available on managed clouds)

Trigram matching enabling GIN/GiST index acceleration for ILIKE "%keyword%" and fuzzy search.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Fast zero-config CJK (Chinese/Japanese/Korean) full-text search index powered by Groonga.

Caveat / Workaround: On AWS RDS, Aurora, and Cloud SQL, use pg_bigm for 2-gram CJK full-text indexing.
Supported on:SupabaseSelf-hosted
Not supported:AWS RDS · Aurora · Neon · Cloud SQL · Azure PG

2-gram full-text index widely supported on AWS RDS, Aurora, and Cloud SQL for CJK LIKE queries.

Caveat / Workaround: Use pgroonga on Supabase, or pre-tokenize into a native tsvector column on Neon and Azure.
Supported on:AWS RDSAuroraCloud SQLSelf-hosted
Not supported:Supabase · Neon · Azure PG

Chinese full-text segmentation extension based on Jieba tokenizer, enabling accurate Chinese keyword and hybrid search inside PostgreSQL.

Caveat / Workaround: Supported on Alibaba Cloud RDS/PolarDB and TencentDB; on global clouds use pg_trgm, pg_bigm, or ParadeDB ICU tokenization.
Supported on:Self-hosted(Not available on managed clouds)

In-database AI extension by Timescale that calls LLMs/embedding models in SQL and keeps pgvector embeddings synced automatically with Vectorizer.

Caveat / Workaround: Run the standalone pgai Vectorizer worker against any managed RDS, Aurora, or Neon instance when in-DB PL/Python is unavailable.
Supported on:Self-hosted(Not available on managed clouds)

VectorChord next-gen Rust disk-based vector search extension succeeding pgvecto.rs, built for high recall and throughput at large scale.

Caveat / Workaround: On managed clouds use pgvector 0.8+ halfvec/binary quantization or pgvectorscale DiskANN indexes.
Supported on:Self-hosted(Not available on managed clouds)

SCWS-based Chinese full-text search parser for PostgreSQL, widely preinstalled on Alibaba Cloud RDS/PolarDB and Chinese deployments.

Caveat / Workaround: Preinstalled on major China cloud Postgres platforms; on global clouds use pgroonga or pg_bigm.
Supported on:Self-hosted(Not available on managed clouds)

Ops, Tuning & Cron

11

Essential query observability tracking execution counts, latency, shared buffer hits, and WAL bytes.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

In-database cron job scheduler for periodic materialized view refreshes, partition maintenance, and purges.

Caveat / Workaround: Note: On Neon, pg_cron only fires while compute is active; disable scale-to-zero or trigger via external cron.
Supported on:AWS RDSAuroraSupabaseCloud SQLAzure PGSelf-hostedNeon (Partial)

Online table and index bloat reclamation without holding long ACCESS EXCLUSIVE locks.

Caveat / Workaround: Supabase requires pg_repack 1.5.2 or newer for full non-superuser support. Enable the extension, use a matching client CLI with -k, and verify the target table has a primary key or a qualifying unique index.
Supported on:AWS RDSAuroraCloud SQLAzure PGSelf-hostedSupabase (Partial)Neon (Partial)

Zero-cost hypothetical indexes to verify query plan improvements via EXPLAIN before building real indexes.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Optimizer plan hints via SQL comments for overriding join order and scan choices.

Caveat / Workaround: PostgreSQL 19 introduces core plan-guidance infrastructure (pg_plan_advice) for cleaner plan stabilization.
Supported on:AWS RDSAuroraNeonCloud SQLAzure PGSelf-hosted
Not supported:Supabase

Automatically logs execution plans of slow statements exceeding a configurable duration threshold.

Supported on:AWS RDSAuroraNeonCloud SQLAzure PGSelf-hostedSupabase (Partial)

Real-time inspection of shared buffer cache residency and dirty buffer ratios per relation.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Extends pg_stat_statements with OS kernel-level CPU time and physical disk read/write metrics per query.

Caveat / Workaround: Requires shared_preload_libraries in self-managed setups; on managed clouds inspect Performance Insights or cloud CPU wait metrics.
Supported on:Self-hosted(Not available on managed clouds)

Zero-trigger online table bloat compaction extension using logical decoding with background worker scheduling.

Caveat / Workaround: Most managed clouds preload pg_repack instead; run pg_repack from a client runner or upgrade to PG 19 built-in REPACK.
Supported on:Self-hosted(Not available on managed clouds)

Official contrib module to preload relation data into OS cache or Postgres shared_buffers after restarts or failovers.

Caveat / Workaround: Manual pg_prewarm() calls work immediately; automatic reboot recovery (autoprewarm) requires shared_preload_libraries.
Supported on:AWS RDSAuroraSupabaseCloud SQLAzure PGSelf-hostedNeon (Partial)

Lightweight sampling profiler for PostgreSQL wait events (LWLock, Lock, IO) to diagnose concurrency bottlenecks.

Caveat / Workaround: On managed clouds, sample pg_stat_activity.wait_event or use built-in Performance / Query Insights.
Supported on:Self-hosted(Not available on managed clouds)

Analytics & Partitioning

10

Automated declarative time/serial table partitioning, pre-creation, and retention management.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Hypertable time-series extension; TSL license restricts cloud providers to either omit it or ship Apache-2 edition only.

Caveat / Workaround: Neon/Azure only ship Apache-2 edition (no TSL compression/continuous aggregates), and Supabase dropped it in PG 17+; use native partitioning + pg_partman + BRIN.
Supported on:Self-hostedNeon (Partial)Azure PG (Partial)
Not supported:AWS RDS · Aurora · Supabase · Cloud SQL

Embeds DuckDB vectorized execution inside Postgres for fast OLAP and direct Parquet/Iceberg lakehouse queries.

Caveat / Workaround: Not allowed on multi-tenant managed clouds yet; run standalone DuckDB with the postgres attach extension against a read replica.
Supported on:Self-hosted(Not available on managed clouds)

Distributed horizontal sharding for multi-tenant SaaS plus columnar table storage.

Caveat / Workaround: Available as managed Azure Cosmos DB for PostgreSQL, or self-hosted on Kubernetes.
Supported on:Self-hostedAzure PG (Partial)
Not supported:AWS RDS · Aurora · Supabase · Neon · Cloud SQL

HyperLogLog data type for fast, mergeable approximate COUNT(DISTINCT) rollups at tiny storage cost.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Compressed Roaring Bitmap extension for fast multi-million user audience segmentation, distinct counts, and set operations.

Caveat / Workaround: Built into Neon, Azure Flexible Server, and Alibaba Cloud; otherwise consider postgresql-hll or integer-array GIN indexes.
Supported on:NeonAzure PGSelf-hosted
Not supported:AWS RDS · Aurora · Supabase · Cloud SQL

Open-source (Apache 2.0) Rust/pgrx native PostgreSQL time-series columnar compression extension (δx) by Xata for PG 17–18, storing compressed columns inside standard Postgres tables.

Caveat / Workaround: Requires self-managed Postgres; on managed clouds evaluate TimescaleDB compression, pg_partman partitioning, or pg_duckdb.
Supported on:Self-hosted(Not available on managed clouds)

Open-source columnstore tables in Postgres powered by DuckDB execution and synced cleanly to Parquet, Apache Iceberg, and Delta Lake.

Caveat / Workaround: Supported on Neon and self-hosted deployments; elsewhere stream changes via logical replication CDC to object-storage lakehouses.
Supported on:NeonSelf-hosted
Not supported:AWS RDS · Aurora · Supabase · Cloud SQL · Azure PG

PostgreSQL extension by Crunchy Data allowing COPY TO / COPY FROM to read and write Apache Parquet files on local storage or Amazon S3.

Caveat / Workaround: On managed clouds, use aws_s3 CSV export or attach DuckDB postgres_scanner externally to materialize Parquet files.
Supported on:Self-hosted(Not available on managed clouds)

Modern PostgreSQL storage engine built on the Table AM API that eliminates MVCC bloat, full-page writes, and XID wraparound limits.

Caveat / Workaround: Previewed in Supabase and requires patched Postgres core in self-hosted setups; use pg_repack or pg_squeeze on stock Postgres.
Supported on:Self-hostedSupabase (Partial)
Not supported:AWS RDS · Aurora · Neon · Cloud SQL · Azure PG

GIS & Graph

4

Industry-standard geospatial extension adding geometry/geography types, spatial GiST indexes, and topology ops.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Geospatial network routing (Dijkstra, A*, driving distance, TSP) layered over PostGIS.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Uber H3 hierarchical hexagonal discrete global grid indexing bindings for spatial aggregation.

Caveat / Workaround: Compute 64-bit H3 cell BIGINTs in your app layer before insert and index them with a standard B-tree.
Supported on:NeonAzure PGSelf-hosted
Not supported:AWS RDS · Aurora · Supabase · Cloud SQL

Adds openCypher graph database querying to PostgreSQL for hybrid relational + knowledge-graph apps.

Supported on:Azure PGSelf-hosted
Not supported:AWS RDS · Aurora · Supabase · Neon · Cloud SQL

FDW, HTTP & Queues

6

Official Foreign Data Wrapper for federated SQL queries across remote Postgres servers with pushdown.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Async non-blocking HTTP/webhook requests via a background worker without stalling SQL transactions.

Caveat / Workaround: Use aws_lambda on RDS/Aurora, or a standard Transactional Outbox table + worker elsewhere.
Supported on:SupabaseSelf-hosted
Not supported:AWS RDS · Aurora · Neon · Cloud SQL · Azure PG

Synchronous libcurl HTTP client inside SQL; use carefully as slow endpoints hold transaction locks.

Supported on:SupabaseNeonSelf-hosted
Not supported:AWS RDS · Aurora · Cloud SQL · Azure PG

Lightweight SQS-like message queue built on Postgres with visibility timeouts and archive tables.

Caveat / Workaround: On RDS, Cloud SQL, or Azure, use native SELECT ... FOR UPDATE SKIP LOCKED over a partitioned jobs table.
Supported on:SupabaseNeonSelf-hosted
Not supported:AWS RDS · Aurora · Cloud SQL · Azure PG

Popular logical decoding output plugin streaming WAL changes as JSON payloads for CDC pipelines.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

In-database GraphQL support built in Rust that reflects Postgres tables, relationships, and RLS policies automatically.

Supported on:SupabaseNeonSelf-hosted
Not supported:AWS RDS · Aurora · Cloud SQL · Azure PG

Types, Audit & Testing

9

Detailed session and object audit logging required for SOC2, HIPAA, PCI-DSS, and enterprise compliance.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Trusted Language Extensions enabling safe user-installed SQL, PL/pgSQL, and PLv8 extensions without OS access.

Supported on:AWS RDSAuroraSelf-hostedSupabase (Partial)
Not supported:Neon · Cloud SQL · Azure PG

Cryptographic hashing, HMAC, bcrypt password salting, and PGP symmetric/asymmetric encryption.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Materialized path label trees with GiST index support for fast ancestor/descendant hierarchy queries.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

Combines scalar equality with range types in GiST indexes — essential for EXCLUDE non-overlapping booking constraints.

Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted

TAP-compliant SQL unit testing framework ideal for CI verification of schemas, triggers, and RLS policies.

Supported on:AWS RDSAuroraSupabaseNeonAzure PGSelf-hosted
Not supported:Cloud SQL

PostgreSQL Anonymizer declarative privacy extension for masking and anonymizing PII columns via SQL DDL rules.

Caveat / Workaround: Supported on Neon and Supabase; on other managed clouds use SQL views with role privileges or dump-time masking scripts.
Supported on:SupabaseNeonSelf-hostedAWS RDS (Partial)Cloud SQL (Partial)
Not supported:Aurora · Azure PG

V8-powered JavaScript procedural language for PostgreSQL stored functions, triggers, and complex JSONB transforms.

Caveat / Workaround: Managed builds for the newest PG majors may lag; prefer native SQL/PLpgSQL JSONB operators for greenfield logic.
Supported on:AWS RDSAuroraSupabaseCloud SQLSelf-hostedNeon (Partial)Azure PG (Partial)

Built-in case-insensitive text data type ideal for emails, usernames, and domain identifiers with clean unique constraints.

Caveat / Workaround: Alternatively keep plain TEXT with nondeterministic collations (PG 12+) or functional unique indexes on lower(col).
Supported on:AWS RDSAuroraSupabaseNeonCloud SQLAzure PGSelf-hosted