Re: pg_current_xlog*_location and pg_stat_replication.replay_location > 0 for synced replication connection

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

 



You could query pg_stat_replication on the master, compare sent_location
and replay_location, and if they are the same, the replication is in sync.



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html


-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



[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