How to find out if the server is postgres slave ?? - Mailing list pgsql-general

From expertalert
Subject How to find out if the server is postgres slave ??
Date
Msg-id 1351807561445-5730418.post@n5.nabble.com
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Unexplained Major Vacuum Archive Activity During Vacuum
Next
From: dinesh kumar
Date:
Subject: Re: Postgresql - 8.3 Replication in windows