Stop PostgreSQL streaming replication
<p>I want to make my PostgreSQL master / slave streaming replication setup into a single master slave setup without replication and without HA.</p>
<p>How is it possible to tell master that it no longer has slave and it should not replicate its data to the slave ?</p>
<p>Of course it should also not keep <em>WALs</em> to be sent to the slave as is done when the slave is temporarily down.</p>