On Tue, Aug 16, 2011 at 1:16 PM, Alexander Perepelica <perepelica.alex@xxxxxxxxx> wrote:
Hello!
How can I check which mode has a sever: master or slave (standby) after I setup replication?
You can check the mode of the server using "pg_controldata".
[pgsql@test~]$ pg_controldata /usr/local/pgsql/data84/
Database cluster state: in archive recovery --> This is Standby Database
Database cluster state: in production --> This is Production Database [Master]
--Raghu Ram