Skip to main content
Live — enterprise connector. Fully supported today (SAT-validated). One of Zwiron’s five production connectors: PostgreSQL, MySQL, MongoDB, Snowflake, BigQuery.
PostgreSQL is one of the most widely used open-source relational databases. Zwiron supports Postgres as both a source and destination, with full support for Full Refresh, Incremental, and CDC (Change Data Capture) sync modes.

Supported sync modes


Connection details

When creating a Postgres connection in Zwiron, you’ll need:

Permissions

For a source (read-only)

Create a dedicated user with read access:

For a destination (read-write)

For CDC (additional permissions)


Enabling CDC

CDC requires logical replication to be enabled on your Postgres instance.

Step 1 — Enable logical replication

Add to postgresql.conf:
Restart Postgres after making this change.

Step 2 — Verify

Step 3 — Create a replication slot (optional)

Zwiron creates the replication slot automatically when CDC is enabled. If you want to create it manually:

Step 4 — Configure CDC in Zwiron

When creating a pipeline:
  1. Select Postgres as your source connection
  2. Choose CDC as the sync mode
  3. Zwiron will use the publication and create a replication slot automatically

Notes for managed Postgres

Amazon RDS for PostgreSQL

Logical replication requires rds.logical_replication = 1 in your parameter group. The rds_replication role must be granted to the Zwiron user:

Amazon Aurora PostgreSQL

Same as RDS. Set rds.logical_replication = 1 in the cluster parameter group.

Google Cloud SQL for PostgreSQL

Enable the cloudsql.logical_decoding flag in your Cloud SQL instance settings. Grant replication to the user:
Hosted mode networking: Add all of Zwiron’s static egress IPs under Cloud SQL Authorized Networks. Private IP alone does not work for Hosted mode — use Public IP plus the full allowlist.

Supabase

Logical replication is enabled by default. Create a publication and grant replication to the Zwiron user.

Troubleshooting

This usually means the replication slot is not being consumed. Check that the agent is running and the CDC job is active. If the agent was offline for an extended period, the slot may need to be dropped and recreated.
Ensure the Zwiron user has SELECT granted on the specific table, and that default privileges are set for future tables.
Ensure pg_hba.conf allows the agent’s IP address to connect. Add a rule like:
Last modified on July 13, 2026