• Peter Eisentraut's avatar
    Refactor subscription tests to use PostgresNode's wait_for_catchup · bbd3363e
    Peter Eisentraut authored
    This was nearly the same code.  Extend wait_for_catchup to allow waiting
    for pg_current_wal_lsn() and use that in the subscription tests.  Also
    change one use in the pg_rewind tests to use this.
    
    Also remove some broken code in wait_for_catchup and
    wait_for_slot_catchup.  The error message in case the waiting failed
    wanted to show the current LSN, but the way it was written never
    worked.  So since nobody ever cared, just remove it.
    Reviewed-by: default avatarMichael Paquier <michael.paquier@gmail.com>
    bbd3363e
005_encoding.pl 1.72 KB