Simplify fetch-slot-xmins logic in recovery TAP tests.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 3043c1ddd13cd902d820d9aea353e60ce2d3d698
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-08-12T16:08:54Z
Releases: 10.0
Simplify fetch-slot-xmins logic in recovery TAP tests.

Merge wait_slot_xmins() into get_slot_xmins().  At this point the only
place that wasn't doing a wait was the initial-state test, and a wait
there seems pretty harmless.

Michael Paquier

Discussion: https://postgr.es/m/CAB7nPqSp_SLQb2uU7am+sn4V3g1UKv8j3yZU385oAG1cG_BN9Q@mail.gmail.com

Files

PathChange+/−
src/test/recovery/t/001_stream_rep.pl modified +25 −40

Discussion