Allow PostgresNode.pm tests to wait for catchup

Simon Riggs <simon@2ndQuadrant.com>

Commit: fb093e4cb36fe40a1c3f87618fb8362845dae0f0
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2017-01-04T16:50:23Z
Releases: 10.0
Allow PostgresNode.pm tests to wait for catchup

Add methods to the core test framework PostgresNode.pm to allow us to
test that standby nodes have caught up with the master, as well as
basic LSN handling.  Used in tests recovery/t/001_stream_rep.pl and
recovery/t/004_timeline_switch.pl

Craig Ringer, reviewed by Aleksander Alekseev and Simon Riggs

Files