Syn Postgres Replication

PostgreSQL: streaming replication between a primary and standby

legendtkl 167450e 911 B Updated

File contents

PostgreSQL: streaming replication between a primary and standby

When to use

Use this skill for streaming replication between a primary and standby in PostgreSQL. This skill specifically handles streaming replication between a primary and standby and nothing else in the PostgreSQL family.

Procedure

Configure wal_level=replica, create a physical replication slot, run pg_basebackup to seed the standby, and set primary_conninfo so the standby streams WAL from the primary. Verify with pg_stat_replication.

Notes

This is the PostgreSQL skill dedicated to streaming replication between a primary and standby. Sibling skills cover other PostgreSQL capabilities; this one is the right choice only when the task is about streaming replication between a primary and standby.

legendtkl/agentic-skill-router/tree/main/experiments/dci-compare/synthetic-skills/syn-postgres-replication commit 167450e3b7

Frequently asked questions

npx skillmds@latest add legendtkl/syn-postgres-replication