To get the commands used in this tutorial, visit: https://www.scalingpostgres.com/tutorials/postgresql-replication-slots.
Learn how to use replication slots with PostgreSQL’s streaming physical replication. We also discuss the benefits and disadvantages. This tutorial assumes you already have streaming replication setup, if not, check out this video: https://www.youtube.com/watch?v=NaPnYQBBdyU