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

DatabaseLicenseOpen sourceDeploymentWire compatibilityCategoriesLatest versionReleased
Amazon AuroraLicenseRef-ProprietaryNomanaged, serverlessmysql, postgresCloud-Native Storage-Separated OLTP, Serverless Postgres, Serverless & Cloud MySQLrollingn/a
Amazon Aurora DSQLLicenseRef-ProprietaryNomanaged, serverlesspostgresGlobally Distributed SQL, Serverless Postgresrollingn/a
Amazon RedshiftLicenseRef-ProprietaryNomanaged, serverlesspostgresCloud Data Warehouses, MPP Data Warehousesrollingn/a
ClickHouseApache-2.0Yesself-hosted, managed, serverlesshttp-rest, mysql, postgres, grpc, arrow-flightReal-Time OLAP, Cloud Data Warehouses26.11
CockroachDBLicenseRef-CockroachDB-Software-LicenseNoself-hosted, managed, serverlesspostgresDistributed OLTP, Globally Distributed SQL, Geospatial Databases, Vector Extensions & Plugins26.4.1
Google Cloud SpannerLicenseRef-ProprietaryNomanaged, self-hostedpostgres, grpc, http-restGlobally Distributed SQL, Distributed OLTP, Property Graph Databasesrollingn/a
GreenplumLicenseRef-ProprietaryNoself-hostedpostgresMPP Data Warehouses7.8.2
H2 Database EngineMPL-2.0 OR EPL-1.0Yesembedded, self-hostedpostgresEmbedded SQL Databases, In-Memory Relational2.5.252
MaterializeBUSL-1.1Nomanaged, self-hostedpostgresStreaming SQL Databases26.52.0
NeonApache-2.0Yesmanaged, serverlesspostgres, http-restServerless Postgresrollingn/a
PlanetScaleLicenseRef-ProprietaryNomanagedmysql, postgresServerless & Cloud MySQL, Serverless Postgresrollingn/a
QuestDBApache-2.0Yesself-hosted, managedpostgres, influxdb-line, http-restSQL Time-Series, General-Purpose TSDB10.2.0
RisingWaveApache-2.0Yesself-hosted, managedpostgresStreaming SQL Databases3.1.2
SupabaseApache-2.0Yesself-hosted, managedpostgres, http-restBackend-as-a-Service Databasesrollingn/a
YugabyteDBApache-2.0Yesself-hosted, managedpostgres, cassandra-cqlDistributed OLTP, Globally Distributed SQL2026.1.3.2

Values come from each database's profile; see the profile for its sources and verification date.

The options

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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

All guides

Sources

Last verified:

  1. aws.amazon.com/blogs/aws/celebrating-10-years-of-amazon-aurora-innovation aws.amazon.com
  2. aws.amazon.com/rds/aurora/dsql/features aws.amazon.com
  3. aws.amazon.com/redshift aws.amazon.com
  4. clickhouse.com/docs/whats-new/changelog clickhouse.com
  5. cockroachlabs.com/docs/releases/v26.4 cockroachlabs.com
  6. cloud.google.com/spanner/docs/overview cloud.google.com
  7. vmware.com/products/app-platform/tanzu-data-intelligence/greenplum vmware.com
  8. h2database.com/html/main.html h2database.com
  9. materialize.com/docs/releases materialize.com
  10. neon.com/docs/introduction neon.com
  11. planetscale.com/pricing planetscale.com
  12. questdb.com/release-notes questdb.com
  13. github.com/risingwavelabs/risingwave github.com
  14. github.com/supabase/supabase github.com
  15. docs.yugabyte.com/stable/releases/ybdb-releases docs.yugabyte.com

Found an error? See how to report a correction.