pgedge
pgEdge kernel template for distributed multi-master PostgreSQL in edge scenarios
The pgedge configuration template replaces native PostgreSQL with the pgEdge kernel and provides distributed, multi-master capabilities for edge deployments.
For the full guide, see: pgEdge kernel guide. For kernel differences and version references, see the PGSQL kernel overview.
Overview
- Config name:
pgedge - Node count: Single node
- Description: pgEdge (PG18) distributed kernel template
- Supported OS:
d12,d13,u22,u24,u26for PG18 packages. For EL/RPM platforms, check current PGSQL repository availability forpgedge_18. - Supported arch:
x86_64,aarch64 - Related templates:
meta,pgsql
Enable with:
Template Content
Source: pigsty/conf/pgedge.yml
Notes
The pgedge template enables pg_mode: pgedge in pg-meta and pre-installs pgEdge core extensions for logical replication and edge distribution.
Key features:
- Uses the
pgedgekernel package (PG15/16/17/18 compatible, default PG18) - Bundles
spock,snowflake, andlolorin thepgedge-$vkernel package and creates them in themetadatabase by default - Preloads
spockandlolorfor multi-master setup readiness - Keeps Pigsty standard backup, monitoring, and operations workflow
Typical use cases:
- Multi-region edge deployment with nearby writes
- Multi-master logical replication with conflict handling
- Single-node validation before distributed rollout
Caveats:
- Current template is for single-node kernel validation; production multi-master needs explicit topology and replication strategy planning
- Default is
pg_version: 18; keep consistent with target cluster versions - Evaluate latency and conflict policy before cross-region replication
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)