Thanks for the reply Adrian.
Missed one requirement. Will these methods
generate wal logs needed for replication?
Actually the data is to check if replication
catches up. Below is scenario :
1. Have a master slave cluster with replication
setup
2. Kill master so that standby takes over. We
are using pacemaker for auto failure.
Insert 1 GB data in new master while replication
is broken.
3 Start oldnode as standby and check if 1GB data
gets replicated.
As such testing might be frequent we needed to
spend minimum time in generating data.
Master slave are in same network.
Thanks !