Re: How to get current timeline of host in postgres 10.4?

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

 




Hi Debraj,

From master:
pg_xlogfile_name -- right!
From standby:
using replication prtotocol (example from version 92)
psql -h "$host" -F' ' -c 'IDENTIFY_SYSTEM' 'dbname=replication replication=true'
Hope it helps.

Regards,
Pavan
On Fri, Jun 15, 2018, 9:36 PM Debraj Manna <subharaj.manna@xxxxxxxxx> wrote:
HI

Can someone let me know what is the best way to get current timeline of host (in both master and the slaves) in postgres 10.4?

Thanks,

[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