> Hi all, > > We have set up a Streaming replication. > > Master database serves temporal data being replicated on the Slave > database. > > In the event that we shut down the Master database, the slave database > contains residual data that we do not need. > > Is there any way to trigger a SQL to delete all data from the slave > database in the event that the replication is broken? >
What your version PG?
Saludos, Gilberto Castillo ETECSA, La Habana, Cuba
Winner of IHS Jane's ATC Award - Enabling Technology