Detecting master/slave - Mailing list pgsql-general

From Steve Pribyl
Subject Detecting master/slave
Date
Msg-id 1416579229539.50519@akunacapital.com
Whole thread Raw
Responses Re: Detecting master/slave  (Nitesh Gupta <nitesh.gupta@ashnik.com>)
Re: Detecting master/slave  (Thomas Kellerer <spam_eater@gmx.net>)
Re: Detecting master/slave  (Sameer Kumar <sameer.kumar@ashnik.com>)
List pgsql-general
Is there a better/recommended way to determine which host in a cluster is the master or slave besides rescue.conf or
pg_stat_replication? Just looking for the "right" way to know which host is which. 

Thanks

Steve
________________________________
 [http://www.akunacapital.com/images/akuna.png]
Steve Pribyl | Senior Systems Engineer
Akuna Capital LLC
36 S Wabash, Suite 310 Chicago IL 60603 USA | www.akunacapital.com <http://www.akunacapital.com>
p: +1 312 994 4646 | m: 847-343-2349 | f: +1 312 750 1667 | Steve.Pribyl@akunacapital.com

Please consider the environment, before printing this email.

This electronic message contains information from Akuna Capital LLC that may be confidential, legally privileged or
otherwiseprotected from disclosure. This information is intended for the use of the addressee only and is not offered
asinvestment advice to be relied upon for personal or professional use. Additionally, all electronic messages are
recordedand stored in compliance pursuant to applicable SEC rules. If you are not the intended recipient, you are
herebynotified that any disclosure, copying, distribution, printing or any other use of, or any action in reliance on,
thecontents of this electronic message is strictly prohibited. If you have received this communication in error, please
notifyus by telephone at (312)994-4640 and destroy the original message. 


pgsql-general by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: Performance question
Next
From: Nitesh Gupta
Date:
Subject: Re: Detecting master/slave