• Michael Paquier's avatar
    Improve log pattern detection in recently-added TAP tests · bfd96b7a
    Michael Paquier authored
    ab55d742 has introduced some tests with rows found as missing in logical
    replication subscriptions for partitioned tables, relying on a logic
    with a lookup of the logs generated, scanning the whole file.  This
    commit makes the logic more precise, by scanning the logs only from the
    position before the key queries are run to the position where we check
    for the logs.  This will reduce the risk of issues with log patterns
    overlapping with each other if those tests get more complicated in the
    future.
    
    Per discussion with Tom Lane.
    
    Discussion: https://postgr.es/m/YMP+Gx2S8meYYHW4@paquier.xyz
    Backpatch-through: 13
    bfd96b7a
001_rep_changes.pl 19.9 KB