
pg_createsubscriber is a tool that was introduced in PostgreSQL 17 to simplify and speed up the creation of a logical replica by converting an existing physical standby server. In this blog post, we’ll explore the motivation behind the introduction of this tool, how to use it, and how it is implemented, including its internal workings.

At this year’s PGConf.dev, the premier gathering for PostgreSQL contributors, developers, and community leaders, Zhijie Hou and I had the opportunity talk about the challenges and solutions around conflict handling in logical replication — a topic increasingly relevant as PostgreSQL adoption continues to grow.

At PGConf India 2025, I shared strategies for upgrading PostgreSQL replication clusters with no disruption to operations—highlighting examples and the evolving capabilities of logical replication.

Earlier this year, I had the pleasure of speaking at PGConf India 2025, where I presented on one of the most exciting advancements in PostgreSQL 17—how logical replication is now more resilient and failover-ready with failover logical slots—and today, I’m excited to share the slides from that talk with you.