• Peter Eisentraut's avatar
    vacuumdb: Add option --analyze-in-stages · c92c3d50
    Peter Eisentraut authored
    Add vacuumdb option --analyze-in-stages which runs ANALYZE three times
    with different configuration settings, adopting the logic from the
    analyze_new_cluster.sh script that pg_upgrade generates.  That way,
    users of pg_dump/pg_restore can also use that functionality.
    
    Change pg_upgrade to create the script so that it calls vacuumdb instead
    of implementing the logic itself.
    c92c3d50
vacuumdb.c 11.3 KB