pgl_ddl_deploy
automated ddl deployment using pglogical
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pgl_ddl_deploy | 2.2.1 | ETL | MIT | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 9520 | pgl_ddl_deploy | No | Yes | No | Yes | No | No | pgl_ddl_deploy |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PGDG | 2.2.1 | 1817161514 | pgl_ddl_deploy | pglogical |
| RPM | PGDG | 2.2.1 | 1817161514 | pgl_ddl_deploy_$v | pglogical_$v |
| DEB | PGDG | 2.2.1 | 1817161514 | postgresql-$v-pgl-ddl-deploy | postgresql-$v-pglogical |
Install
You can install pgl_ddl_deploy directly. First, make sure the PGDG repository is added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
Transparent DDL replication for PostgreSQL 9.5+ supporting both pglogical and native logical replication. Automatically propagates DDL changes (CREATE TABLE, ALTER TABLE, etc.) to subscribers.
Enabling
Configuration
Insert configuration into the pgl_ddl_deploy.set_configs table:
Deploy Event Triggers
After configuring, deploy the event triggers:
Key Configuration Options
driver:nativeorpglogicalset_name: publication name or pglogical replication set nameinclude_schema_regex: regex to match schemas for DDL replicationinclude_only_repset_tables: if true, only ALTER TABLE for tables already in replicationlock_safe_deployment: if true, DDL executes in a low lock_timeout loop on subscriberallow_multi_statements: if true, multi-statement DDL can be propagatedqueue_subscriber_failures: if true, failed DDL on subscriber is queued for retryddl_only_replication: replicate schema only without auto-adding tables to data replication
Monitoring
Checking Resolved Schemas
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)