when I create a file at the file trigger location ex: /tmp/postgresql.trigger.5432 on pgslave server, it started accepting read and as well as write request which is perfectly correct.
What I want to know is how to switch them back to the normal status. That means pgmaster need to be the Master server which acept the writed and pgslave that accepts only reads along with the replication.