How to find the primary server of a hot standby server?

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

 



Hi,

quick question to the PG 9 community.

I can query a hot standby server if recovery is still active using the administration function pg_is_in_recovery(). 
Is there also a way to query for the 'primary server', i.e. which server is delivering the WAL records?

I'd like to monitor a bunch of standby servers in terms of configuration and operation.

Thanks,
Rudolf VanderLeeden
Scoreloop AG, Germany



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux