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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Simplify fetch-slot-xmins logic in recovery TAP tests.
Date: 2017-08-12 16:08:59
Message-ID: E1dgYyB-0002JC-LX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3043c1ddd13cd902d820d9aea353e60ce2d3d698

Modified Files
--------------
src/test/recovery/t/001_stream_rep.pl | 65 ++++++++++++++---------------------
1 file changed, 25 insertions(+), 40 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2017-08-13 01:22:26 pgsql: Fix vertical spanning in table "wait_event Description".
Previous Message Petr Jelinek 2017-08-12 11:32:24 Re: pgsql: Don't force-assign transaction id when exporting a snapshot.