]> granicus.if.org Git - postgresql/commit
Simplify fetch-slot-xmins logic in recovery TAP tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Aug 2017 16:08:54 +0000 (12:08 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Aug 2017 16:08:54 +0000 (12:08 -0400)
commit3043c1ddd13cd902d820d9aea353e60ce2d3d698
tree5bc5f3d013c437eed18861f671bb1ceef84d5776
parentd6ecad812f981e6ea611c1022ce7540830393a36
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
src/test/recovery/t/001_stream_rep.pl