Search Postgresql Archives

How to find out if the server is postgres slave ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From command line, is there any way to find out if the server is actually a
slave server not master ??

I am writing some script, so for sanity check purpose   , i need to know if
the server the server i am on , its actually slave

thanks for your help.





--
View this message in context: http://postgresql.1045698.n5.nabble.com/How-to-find-out-if-the-server-is-postgres-slave-tp5730418.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux