Postgres-Compatible Databases
Our catalog lists 15 databases, besides PostgreSQL itself, that accept connections over the PostgreSQL wire protocol. Speaking the protocol is not the same as running PostgreSQL. Neon, Supabase and the Postgres editions of Amazon Aurora and PlanetScale run Postgres. Aurora DSQL, YugabyteDB, Greenplum and Amazon Redshift reuse or fork parts of the Postgres code. CockroachDB, Google Cloud Spanner, Materialize, RisingWave, QuestDB, ClickHouse and H2 implement the protocol on top of their own engines and SQL dialects.
Last verified:
How we picked
We included every catalog profile whose wire_compatibility field contains postgres, except PostgreSQL itself and extensions that run inside PostgreSQL (pgvector, PostGIS, TimescaleDB), which are PostgreSQL. The compatibility level in each entry (runs Postgres, reuses or forks Postgres code, or implements the protocol only) comes from the profile's description and history_note. Other facts come from license, deployment and latest_version, last verified 2026-12-03. Entries are listed alphabetically by name. The order is not a ranking.
Comparison
| Database | License | Open source | Deployment | Wire compatibility | Categories | Latest version | Released |
|---|---|---|---|---|---|---|---|
| Amazon Aurora | LicenseRef-Proprietary | No | managed, serverless | mysql, postgres | Cloud-Native Storage-Separated OLTP, Serverless Postgres, Serverless & Cloud MySQL | rolling | n/a |
| Amazon Aurora DSQL | LicenseRef-Proprietary | No | managed, serverless | postgres | Globally Distributed SQL, Serverless Postgres | rolling | n/a |
| Amazon Redshift | LicenseRef-Proprietary | No | managed, serverless | postgres | Cloud Data Warehouses, MPP Data Warehouses | rolling | n/a |
| ClickHouse | Apache-2.0 | Yes | self-hosted, managed, serverless | http-rest, mysql, postgres, grpc, arrow-flight | Real-Time OLAP, Cloud Data Warehouses | 26.11 | |
| CockroachDB | LicenseRef-CockroachDB-Software-License | No | self-hosted, managed, serverless | postgres | Distributed OLTP, Globally Distributed SQL, Geospatial Databases, Vector Extensions & Plugins | 26.4.1 | |
| Google Cloud Spanner | LicenseRef-Proprietary | No | managed, self-hosted | postgres, grpc, http-rest | Globally Distributed SQL, Distributed OLTP, Property Graph Databases | rolling | n/a |
| Greenplum | LicenseRef-Proprietary | No | self-hosted | postgres | MPP Data Warehouses | 7.8.2 | |
| H2 Database Engine | MPL-2.0 OR EPL-1.0 | Yes | embedded, self-hosted | postgres | Embedded SQL Databases, In-Memory Relational | 2.5.252 | |
| Materialize | BUSL-1.1 | No | managed, self-hosted | postgres | Streaming SQL Databases | 26.52.0 | |
| Neon | Apache-2.0 | Yes | managed, serverless | postgres, http-rest | Serverless Postgres | rolling | n/a |
| PlanetScale | LicenseRef-Proprietary | No | managed | mysql, postgres | Serverless & Cloud MySQL, Serverless Postgres | rolling | n/a |
| QuestDB | Apache-2.0 | Yes | self-hosted, managed | postgres, influxdb-line, http-rest | SQL Time-Series, General-Purpose TSDB | 10.2.0 | |
| RisingWave | Apache-2.0 | Yes | self-hosted, managed | postgres | Streaming SQL Databases | 3.1.2 | |
| Supabase | Apache-2.0 | Yes | self-hosted, managed | postgres, http-rest | Backend-as-a-Service Databases | rolling | n/a |
| YugabyteDB | Apache-2.0 | Yes | self-hosted, managed | postgres, cassandra-cql | Distributed OLTP, Globally Distributed SQL | 2026.1.3.2 |
Values come from each database's profile; see the profile for its sources and verification date.
The options
Amazon Aurora
Aurora's PostgreSQL-compatible edition runs Postgres on an AWS storage layer that is separated from compute and replicated across three Availability Zones. Its profile lists both postgres and mysql wire compatibility. It is proprietary and offered as a managed service with a serverless option.
- Best for
- Running existing PostgreSQL applications on AWS with managed storage replication and autoscaling.
- Watch out for
- It runs only on AWS, and features such as Global Database, fast cloning and Limitless Database are specific to AWS.
Amazon Aurora DSQL
Aurora DSQL reuses the PostgreSQL parser and planner, but replaces storage, replication and concurrency control with Rust components that use optimistic concurrency control. It is proprietary, serverless and offers active-active writes across Regions.
- Best for
- Multi-Region transactional applications on AWS that can work within a Postgres feature subset.
- Watch out for
- Only a subset of PostgreSQL features is supported, so check extensions, data types and DDL against the AWS documentation before migrating.
Amazon Redshift
Redshift derives from ParAccel technology and an early PostgreSQL 8.0.2 fork, so PostgreSQL drivers can connect to it. It is a proprietary columnar data warehouse that runs SQL across a massively parallel cluster or in serverless mode.
- Best for
- Analytics on AWS, where BI tools connect through Postgres drivers.
- Watch out for
- Its SQL dialect differs from modern PostgreSQL. It is a warehouse, not a transactional database.
ClickHouse
ClickHouse lists the Postgres wire protocol among several interfaces, along with HTTP, MySQL, gRPC and Arrow Flight. It is an Apache-2.0 column-oriented database for real-time analytics, and the latest release is 26.11 (2026-11-24).
- Best for
- Letting Postgres-speaking clients and tools query an analytical store.
- Watch out for
- It is a separate engine with its own SQL dialect. The Postgres protocol support is an access path, not PostgreSQL behavior.
CockroachDB
CockroachDB speaks the PostgreSQL wire protocol and much of its dialect on top of its own Raft-replicated, range-sharded storage with serializable transactions. Its latest release is 26.4.1 (2026-11-18), and it can be deployed self-hosted, managed or serverless.
- Best for
- Postgres-style applications that need multi-node or multi-region resilience.
- Watch out for
- Self-hosted builds have used the proprietary CockroachDB Software License since v24.3. The dialect coverage is partial, so ORMs and extensions need testing.
Google Cloud Spanner
Spanner offers a PostgreSQL dialect alongside GoogleSQL, and its profile lists postgres wire compatibility next to gRPC and REST. It uses Paxos replication and TrueTime clocks for externally consistent transactions across regions. Since September 2026, Spanner Omni also runs on-premises and on other clouds.
- Best for
- Globally distributed transactional workloads that want Postgres-flavored SQL.
- Watch out for
- It is proprietary. Its PostgreSQL dialect is an interface to Spanner's own engine, so Postgres extensions and some behaviors are not available.
Greenplum
Greenplum is a shared-nothing MPP data warehouse built on a fork of PostgreSQL, with a coordinator that spreads queries across segment instances. Its latest release is 7.8.2 (2026-06-22), and it is sold by Broadcom as VMware Tanzu Greenplum.
- Best for
- Existing on-premises or private-cloud Greenplum estates.
- Watch out for
- Broadcom archived the public repository in May 2024 and moved development to closed source. Our radar ring is hold, and Apache Cloudberry (incubating) is a community fork of the earlier open code.
H2 Database Engine
H2 is a Java relational database that runs embedded or as a server, and its profile lists postgres wire compatibility. Its compatibility modes imitate other SQL dialects. It is dual-licensed MPL-2.0 or EPL-1.0.
- Best for
- Lightweight Java tests or tools that need a Postgres-speaking endpoint without running PostgreSQL.
- Watch out for
- It is a different engine. Behavior that depends on real PostgreSQL features will not match.
Materialize
Materialize maintains SQL views incrementally as source data changes, ingesting change data from PostgreSQL, MySQL, SQL Server and Kafka. Clients query it over the PostgreSQL wire protocol. The latest release is 26.52.0 (2026-11-24).
- Best for
- Always-fresh query results over operational data, read through standard Postgres clients.
- Watch out for
- It is under BUSL-1.1, not an open-source license. The free Community Edition is limited to clusters under 24 GiB of memory and 48 GiB of disk in total, and it may not be offered as a database service.
Neon
Neon runs Postgres compute on a custom storage layer of safekeepers and object-storage pageservers, which gives it scale-to-zero and copy-on-write branching. The storage engine and modified Postgres are Apache-2.0, while the hosted control plane is proprietary.
- Best for
- PostgreSQL workloads that benefit from branching and scale-to-zero.
- Watch out for
- Databricks agreed to acquire Neon in May 2025, and its architecture also underpins Databricks Lakebase Postgres.
PlanetScale
PlanetScale offers managed PostgreSQL alongside MySQL on Vitess, and Neki, its sharded Postgres offering. It adds database branching, deploy requests for schema changes and query insights. It is a proprietary managed service.
- Best for
- Managed Postgres with schema-change workflows and a path to sharding.
- Watch out for
- It has no free tier (Postgres plans start at USD 5 per month), and it runs only as a managed service.
QuestDB
QuestDB accepts the Postgres wire protocol, InfluxDB line protocol and HTTP, on top of its own column-oriented, time-partitioned engine. Its SQL adds time-series operators such as SAMPLE BY, LATEST ON and ASOF JOIN. The open-source engine is Apache-2.0, and the latest release is 10.2.0 (2026-11-10).
- Best for
- Time-series workloads where clients or BI tools connect through Postgres drivers.
- Watch out for
- It is not PostgreSQL. Expect differences in DDL, types and transactions, and use QuestDB's own SQL extensions for time-series queries.
RisingWave
RisingWave is an Apache-2.0 streaming database that speaks the PostgreSQL wire protocol and dialect. It keeps materialized views incrementally up to date as events arrive from queues and CDC streams. The latest release is 3.1.2 (2026-11-23).
- Best for
- Real-time dashboards, alerting and streaming ingestion into Iceberg, queried with Postgres tools.
- Watch out for
- It stores state in object storage and is built for streaming views, not as a general transactional Postgres replacement.
Supabase
Supabase gives each project a dedicated PostgreSQL database, plus auto-generated REST and GraphQL APIs, authentication, storage and realtime change streams. The platform repository is Apache-2.0, and components such as PostgreSQL and PostgREST keep their own licenses. It can be self-hosted with Docker.
- Best for
- Application backends that want PostgreSQL with auth and APIs included.
- Watch out for
- Row-level security is the main authorization model, so the data access design depends on correct Postgres policies. Supabase also announced on 2026-10-02 that it is acquiring Turso.
YugabyteDB
YugabyteDB reuses the PostgreSQL query layer (YSQL) on DocDB, a sharded, Raft-replicated storage engine derived from RocksDB, and it also exposes a Cassandra-compatible API. The core database is Apache-2.0, and the latest release is 2026.1.3.2 (2026-12-01).
- Best for
- Horizontally scaled, multi-region transactional applications that want Postgres-based SQL.
- Watch out for
- The YugabyteDB Anywhere management platform is under the Polyform Free Trial License and needs a commercial license for production.
FAQ
- What does Postgres-compatible mean?
- At minimum, the database accepts connections from PostgreSQL drivers and tools over the Postgres wire protocol. Beyond that, compatibility ranges from running actual PostgreSQL (Neon, Supabase), to reusing parts of its code (Aurora DSQL, YugabyteDB), to implementing only the protocol on a different engine (CockroachDB, QuestDB, ClickHouse).
- Which Postgres-compatible databases are open source?
- Among the 15 entries, ClickHouse, H2, Neon (storage engine and modified Postgres), QuestDB, RisingWave, Supabase and YugabyteDB are marked open source in our catalog. CockroachDB and Materialize are source-available, and the rest are proprietary.
- Which distributed databases are PostgreSQL-compatible?
- CockroachDB, YugabyteDB, Amazon Aurora DSQL and Google Cloud Spanner all accept Postgres clients and distribute data across nodes or regions. Each supports a different share of PostgreSQL features, so test your schema and queries on each one.
- Do pgvector, PostGIS and TimescaleDB count as Postgres-compatible databases?
- They are extensions that run inside PostgreSQL, so they are PostgreSQL rather than alternatives to it. They are not in this table. Managed services decide which extensions they offer, so check availability on your provider.
- Can I use Postgres drivers to query a data warehouse?
- Amazon Redshift and Greenplum both descend from PostgreSQL forks and accept Postgres clients, and ClickHouse also implements the protocol. Their SQL dialects differ from current PostgreSQL.
Related guides
- Serverless Postgres Options Compared
- Distributed SQL Databases Compared
- Real-Time Analytics Databases Compared
Sources
Last verified:
- aws.amazon.com/blogs/aws/celebrating-10-years-of-amazon-aurora-innovation aws.amazon.com
- aws.amazon.com/rds/aurora/dsql/features aws.amazon.com
- aws.amazon.com/redshift aws.amazon.com
- clickhouse.com/docs/whats-new/changelog clickhouse.com
- cockroachlabs.com/docs/releases/v26.4 cockroachlabs.com
- cloud.google.com/spanner/docs/overview cloud.google.com
- vmware.com/products/app-platform/tanzu-data-intelligence/greenplum vmware.com
- h2database.com/html/main.html h2database.com
- materialize.com/docs/releases materialize.com
- neon.com/docs/introduction neon.com
- planetscale.com/pricing planetscale.com
- questdb.com/release-notes questdb.com
- github.com/risingwavelabs/risingwave github.com
- github.com/supabase/supabase github.com
- docs.yugabyte.com/stable/releases/ybdb-releases docs.yugabyte.com
Found an error? See how to report a correction.