Removing second slave server - Mailing list pgsql-admin

From Yambu
Subject Removing second slave server
Date
Msg-id CALhHtcBtq3NiORvFMPdq_TY508Lmif99r_fcskyfN7Mu7N7Fsw@mail.gmail.com
Whole thread Raw
List pgsql-admin
Hello

I want to reinstall my second slave server and I have to stop replication.

May i know if it's enough to just run the command below on the second slave

touch /tmp/postgresql.trigger.5432

Trigger file in recovery.conf is 

trigger_file = '/tmp/postgresql.trigger.5432'   

Do i need to do anything on the master server so that wal files do not build up since the second slave is no longer active?

Im using PG v10,streaming replication

regards


 

pgsql-admin by date:

Previous
From: Jan Peters
Date:
Subject: Aw: Re: PostgreSQL replication failover
Next
From: John Wiencek
Date:
Subject: Re: PostgreSQL replication failover