PG Kernels

How to use PostgreSQL kernel forks in Pigsty, such as Citus, Babelfish, IvorySQL, PolarDB, and more.

In Pigsty, you can replace the native PostgreSQL kernel with different PostgreSQL “flavors” to unlock specialized capabilities.

Pigsty supports multiple PostgreSQL kernels and compatibility branches so you can get compatibility layers, multi-master replication, graph queries, MPP warehousing, transparent encryption, and more inside one operational framework.

One thing to keep in mind is that not every kernel has the same delivery depth in Pigsty: PostgreSQL, Citus, Babelfish, IvorySQL, PolarDB, AgensGraph, and pgEdge already have relatively clear templates and configuration paths; Cloudberry and Greenplum, by contrast, are more often managed through gpsql mode, and their MPP initialization plus scale-out operations are still better handled with upstream tooling.

KernelKey FeatureDescription
PostgreSQLNative kernel, full extension setVanilla PostgreSQL with 464 extensions
SupabaseBackend as a ServicePostgreSQL-based BaaS, Firebase alternative
CitusHorizontal scalingDistributed PostgreSQL via native extension
BabelfishSQL Server compatibleSQL Server wire-protocol compatibility (PG17)
IvorySQLOracle compatibleOracle syntax and PL/SQL compatibility
OpenHaloMySQL compatibleMySQL wire-protocol compatibility
PerconaTransparent data encryptionPercona distribution with pg_tde
FerretDBMongoDB migrationMongoDB wire-protocol compatibility
OrioleDBOLTP optimizationZheap, no bloat, S3 storage
PolarDBAurora-style RACRAC, China-local compliance scenario
CloudberryOpen-source MPP warehouseCloudberry integrated through gpsql mode
AgensGraphProperty graph + CypherGraph query capability inside PostgreSQL
pgEdgeSpock multi-master replicationDistributed PostgreSQL for edge scenarios

Versions

Below are the version strings for each PG kernel flavor (using el9 as the example). Citus, FerretDB, and Supabase use the same base PostgreSQL versioning pattern as vanilla PostgreSQL.

These version strings come from the current Pigsty repository packages. One thing worth noting: Cloudberry 2.0.0 is currently RPM-only, and pgEdge is currently delivered as a PG17-series kernel.

KernelDescription
PostgreSQLPostgreSQL 18.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5), 64-bit
BabelfishBabelfish 17.7 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11), 64-bit
IvorySQLPostgreSQL 18.1 (IvorySQL 5.1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 9.5.0, 64-bit
OpenHaloopenHalo 1.0.14.18 (260226) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11), 64-bit
PerconaPostgreSQL 18.1 - Percona Server for PostgreSQL 18.1.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11.0.1), 64-bit
OrioleDBPostgreSQL 17.6 (OrioleDB 1.6-beta14) on aarch64-unknown-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11), 64-bit
PolarDBPostgreSQL 15.16 (PolarDB 15.16.5.0 build 710ce891) on x86_64-linux-gnu
AgensGraphPostgreSQL 16.9 (AgensGraph 2.16) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11), 64-bit
pgEdgePostgreSQL 17.9 (pgEdge 5.0.5) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11), 64-bit
CloudberryPostgreSQL 14.4 (Apache Cloudberry 2.0.0-incubating build 1) on aarch64-unknown-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11), 64-bit

PostgreSQL

Vanilla PostgreSQL kernel with 464 extensions

Supabase

How to self-host Supabase with Pigsty, deploy an open-source Firebase alternative with a complete backend stack in one click.

Babelfish

Use Babelfish (PG17) in Pigsty to provide SQL Server protocol/T-SQL compatibility; mainstream platform coverage is complete from v4.2.0.

Percona

Percona Postgres distribution with TDE transparent encryption support

openHalo

MySQL-compatible Postgres 14 branch

OrioleDB

Next-generation OLTP engine for PostgreSQL

Cloudberry

Use the Cloudberry open-source MPP data warehouse kernel in Pigsty and manage nodes, monitoring, and configuration through gpsql mode.

AgensGraph

Use the AgensGraph (PG16) graph database kernel in Pigsty to get property graph and Cypher/SQL hybrid query capabilities within the PostgreSQL ecosystem.

pgEdge

Use the pgEdge (PG17) kernel in Pigsty to build distributed PostgreSQL for edge scenarios on top of Spock multi-master logical replication.

Citus

Deploy native high-availability Citus horizontally sharded clusters with Pigsty, seamlessly scaling PostgreSQL across multiple shards and accelerating OLTP/OLAP queries.

IvorySQL

Use HighGo’s open-source IvorySQL kernel to achieve Oracle syntax/PLSQL compatibility based on PostgreSQL clusters.

PolarDB PG

Using Alibaba Cloud’s open-source PolarDB for PostgreSQL kernel to provide domestic innovation qualification support, with Oracle RAC-like user experience.

PolarDB Oracle

Using Alibaba Cloud’s commercial PolarDB for Oracle kernel (closed source, PG14, only available in special enterprise edition customization)

PostgresML

How to deploy PostgresML with Pigsty: ML, training, inference, Embedding, RAG inside DB.

Greenplum

Deploy/Monitor Greenplum clusters with Pigsty, build Massively Parallel Processing (MPP) PostgreSQL data warehouse clusters!

Neon

Use Neon’s open-source Serverless PostgreSQL kernel to build flexible, scale-to-zero, forkable PG services.


Last Modified 2026-03-14: fix dead links (2ccae35)