I have 3 servers running PostgreSQL 9.6. I have cascading streaming replication working.
primary -> standby1 -> standby2
Any DB changes in primary reach standby2. So all good to this point.
However, if I failover and make standby1 to primary. standby2 stops getting the changes made on standby1. standby1 works perfectly as the the new writable primary, just no changes reach standby2.
What am I missing to allow standby2 to keep working as standby for standby1 when it's make primary?