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

Поиск
Список
Период
Сортировка
От expertalert
Тема How to find out if the server is postgres slave ??
Дата
Msg-id 1351807561445-5730418.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: How to find out if the server is postgres slave ??  (dinesh kumar <dineshkumar02@gmail.com>)
Re: How to find out if the server is postgres slave ??  (Chris Angelico <rosuav@gmail.com>)
Список pgsql-general
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.


В списке pgsql-general по дате отправления:

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: Unexplained Major Vacuum Archive Activity During Vacuum
Следующее
От: dinesh kumar
Дата:
Сообщение: Re: Postgresql - 8.3 Replication in windows