• Simon Riggs's avatar
    Ability to advance replication slots · 9c7d06d6
    Simon Riggs authored
    Ability to advance both physical and logical replication slots using a
    new user function pg_replication_slot_advance().
    
    For logical advance that means records are consumed as fast as possible
    and changes are not given to output plugin for sending. Makes 2nd phase
    (after we reached SNAPBUILD_FULL_SNAPSHOT) of replication slot creation
    faster, especially when there are big transactions as the reorder buffer
    does not have to deal with data changes and does not have to spill to
    disk.
    
    Author: Petr Jelinek
    Reviewed-by: Simon Riggs
    9c7d06d6
func.sgml 744 KB