# Syn Postgres Replication

> PostgreSQL: streaming replication between a primary and standby

- Skill: `legendtkl/syn-postgres-replication` (Agent Skill)
- Install (CLI): `npx skillmds@latest add legendtkl/syn-postgres-replication`
- Raw SKILL.md: https://api.skillmd.com/api/skills/legendtkl/syn-postgres-replication/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: legendtkl (https://skillmd.com/u/legendtkl)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/legendtkl/syn-postgres-replication

---


# 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.

