pgsql_replica_check Postgresql scripts/functions to determine the furthest ahead replica/slave For documentation about these functions visit http://www.databasesoup.com/2012/10/determining-furthest-ahead-replica.html