Collect postgres replication stats