On Tue, Jan 21, 2014 at 12:12 PM, Michael Paquier <michael.paqu...@gmail.com > wrote:
> Mind you, here is a simple suggestion: > SELECT application_name, pg_xlog_location_diff(sent_location, > flush_location) AS replay_delta, sync_priority, sync_state FROM > pg_stat_replication ORDER BY replay_delta ASC, application_name; > This is much more simple, but I guess would work only with v9.2 and higher (?). Best Regards, *Sameer Kumar | Database Consultant* *ASHNIK PTE. LTD. *101 Cecil Street, #11-11 Tong Eng Building, Singapore 069533 M : *+65 8110 0350* T: +65 6438 3504 | www.ashnik.com www.facebook.com/ashnikbiz | www.twitter.com/ashnikbiz [image: email patch] This email may contain confidential, privileged or copyright material and is solely for the use of the intended recipient(s).
<<image002.jpg>>