TECHIES WORLD

For Techs.... Techniques.... Technologies....

AWSBashCpanelLinux

How to remove replication slot in PostgreSQL

We can use pg_drop_replication_slot to delete replication slot in PostgreSQL.

>select pg_drop_replication_slot('NAME');

Where NAME need to be replaced with the name of the replication slot.

Also note that there should not be any active connections for replication slot.

That's all…

Leave a Reply